summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/gnu-radius/scripts/configure3
-rw-r--r--net/nagios-plugins/scripts/configure3
-rw-r--r--net/netsaint-plugins/scripts/configure3
3 files changed, 6 insertions, 3 deletions
diff --git a/net/gnu-radius/scripts/configure b/net/gnu-radius/scripts/configure
index 78e961fee908..80526d02ebb5 100644
--- a/net/gnu-radius/scripts/configure
+++ b/net/gnu-radius/scripts/configure
@@ -58,7 +58,8 @@ while [ "$1" ]; do
LIB_PATH="$LIB_PATH:${LOCALBASE}/lib/mysql/"
;;
\"PostgreSQL\")
- echo "LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7:install"
+ echo "POSTGRESQL_PORT?= databases/postgresql7"
+ echo "LIB_DEPENDS+= pq.3:\${PORTSDIR}/${POSTGRESQL_PORT}:install"
echo "CONFIGURE_ARGS+= --with-postgres"
INCLUDE_PATH="$INCLUDE_PATH:${LOCALBASE}/include/pgsql/"
;;
diff --git a/net/nagios-plugins/scripts/configure b/net/nagios-plugins/scripts/configure
index 171e89e58aa8..66a3aee9dca6 100644
--- a/net/nagios-plugins/scripts/configure
+++ b/net/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/netsaint-plugins/scripts/configure b/net/netsaint-plugins/scripts/configure
index e466804b992a..cb5b819b257d 100644
--- a/net/netsaint-plugins/scripts/configure
+++ b/net/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=""
;;