summaryrefslogtreecommitdiffstats
path: root/net-mgmt/collectd5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/collectd5/Makefile')
-rw-r--r--net-mgmt/collectd5/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/net-mgmt/collectd5/Makefile b/net-mgmt/collectd5/Makefile
index 985f9170..8b0e0c1 100644
--- a/net-mgmt/collectd5/Makefile
+++ b/net-mgmt/collectd5/Makefile
@@ -108,7 +108,8 @@ CONFIGURE_ARGS= --localstatedir=/var \
--without-lvm \
--without-mic \
--without-oracle \
- --disable-turbostat
+ --disable-turbostat \
+ --enable-disk
CGI_RUN_DEPENDS= p5-URI>=0:net/p5-URI \
p5-CGI>=0:www/p5-CGI \
@@ -323,15 +324,6 @@ CONFIGURE_ARGS+=--enable-aggregation \
--enable-write_log \
--enable-zfs_arc \
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
-PLIST_SUB+= DISK="@comment "
-.else
-CONFIGURE_ARGS+=--enable-disk
-PLIST_SUB+= DISK=""
-.endif
-
INSTALL_TARGET= install-strip
SHEBANG_FILES= contrib/collection.cgi
OpenPOWER on IntegriCloud