aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-02-11 05:21:35 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-02-11 05:21:35 +0000
commit15966fc2eb406ef37dc4c5f3774fa2be0c089098 (patch)
treeee9305198f64dc56a6c80f13cb2922746fd2e637 /net-mgmt
parentf861b99e57b858a9ccfc3e2cf5ff94278cdc1d22 (diff)
downloadports-15966fc2eb406ef37dc4c5f3774fa2be0c089098.tar.gz
ports-15966fc2eb406ef37dc4c5f3774fa2be0c089098.zip
Use a direct depend on nginx instead of a USE_ variable which does not seem to exist
Submitted by: Alex Kozlov
Notes
Notes: svn path=/head/; revision=290911
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/collectd/Makefile2
-rw-r--r--net-mgmt/collectd5/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/collectd/Makefile b/net-mgmt/collectd/Makefile
index 331fabb58e7d..a8f99a244928 100644
--- a/net-mgmt/collectd/Makefile
+++ b/net-mgmt/collectd/Makefile
@@ -279,7 +279,7 @@ PLIST_SUB+= MYSQL="@comment "
.endif
.if defined(WITH_NGINX)
-USE_NGINX= yes
+RUN_DEPENDS+= nginx:${PORTSDIR}/www/nginx
LIB_DEPENDS+= curl.6:${PORTSDIR}/ftp/curl
CONFIGURE_ARGS+=--enable-nginx
PLIST_SUB+= NGINX=""
diff --git a/net-mgmt/collectd5/Makefile b/net-mgmt/collectd5/Makefile
index a649f6c496c5..3381327713df 100644
--- a/net-mgmt/collectd5/Makefile
+++ b/net-mgmt/collectd5/Makefile
@@ -286,7 +286,7 @@ PLIST_SUB+= MYSQL="@comment "
.endif
.if defined(WITH_NGINX)
-USE_NGINX= yes
+RUN_DEPENDS+= nginx:${PORTSDIR}/www/nginx
LIB_DEPENDS+= curl.6:${PORTSDIR}/ftp/curl
CONFIGURE_ARGS+=--enable-nginx
PLIST_SUB+= NGINX=""