aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2003-01-04 16:17:27 +0000
committerSean Chittenden <seanc@FreeBSD.org>2003-01-04 16:17:27 +0000
commit854109b51ee2fe3d0c30fddf7cb8ec55c9e1ce0a (patch)
treef88c389e8df55959ea41553d1092d862b9ce7575 /net-mgmt
parentbbd86590e0c8f278521f99ec7b9639f9b52a8e2e (diff)
downloadports-854109b51ee2fe3d0c30fddf7cb8ec55c9e1ce0a.tar.gz
ports-854109b51ee2fe3d0c30fddf7cb8ec55c9e1ce0a.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nagios-plugins/scripts/configure3
-rw-r--r--net-mgmt/netsaint-plugins/scripts/configure3
2 files changed, 4 insertions, 2 deletions
diff --git a/net-mgmt/nagios-plugins/scripts/configure b/net-mgmt/nagios-plugins/scripts/configure
index 171e89e58aa8..66a3aee9dca6 100644
--- a/net-mgmt/nagios-plugins/scripts/configure
+++ b/net-mgmt/nagios-plugins/scripts/configure
@@ -83,7 +83,8 @@ while [ "$1" ]; do
SUB_MYSQL=""
;;
\"PostgreSQL\")
- echo "LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7"
+ echo "POSTGRESQL_PORT?= databases/postgresql7"
+ echo "LIB_DEPENDS+= pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"
echo "CONFIGURE_ARGS+= --with-pgsql=\${LOCALBASE}"
SUB_PGSQL=""
;;
diff --git a/net-mgmt/netsaint-plugins/scripts/configure b/net-mgmt/netsaint-plugins/scripts/configure
index e466804b992a..cb5b819b257d 100644
--- a/net-mgmt/netsaint-plugins/scripts/configure
+++ b/net-mgmt/netsaint-plugins/scripts/configure
@@ -81,7 +81,8 @@ while [ "$1" ]; do
SUB_MYSQL=""
;;
\"PostgreSQL\")
- echo "LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7"
+ echo "POSTGRESQL_PORT?= databases/postgresql7"
+ echo "LIB_DEPENDS+= pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"
echo "CONFIGURE_ARGS+= --with-pgsql=\${LOCALBASE}"
SUB_PGSQL=""
;;