diff options
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/nagios-plugins/scripts/configure | 3 | ||||
-rw-r--r-- | net-mgmt/netsaint-plugins/scripts/configure | 3 |
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="" ;; |