aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/mod_php3/scripts/configure.php3
-rw-r--r--www/mod_php4/scripts/configure.php3
-rw-r--r--www/mod_php5/scripts/configure.php3
-rw-r--r--www/oops/scripts/configure.oops3
4 files changed, 8 insertions, 4 deletions
diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php
index a974db6a1f86..f46e1ffa0547 100644
--- a/www/mod_php3/scripts/configure.php
+++ b/www/mod_php3/scripts/configure.php
@@ -94,7 +94,8 @@ while [ "$1" ]; do
echo "CONFIGURE_ARGS+=--with-mysql=\${PREFIX}"
;;
\"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=\${PREFIX}"
if /usr/bin/ldd ${PREFIX}/bin/postgres | /usr/bin/grep -q "libssl"; then
LIBS="-lcrypto -lssl"
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index dd709527cacb..2230696ea58d 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/scripts/configure.php
@@ -168,7 +168,8 @@ while [ "$1" ]; do
echo "CONFIGURE_ARGS+=--with-mysql=\${LOCALBASE}"
;;
\"PostgreSQL\")
- echo "LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7"
+ echo "POSTGRESQL_PORT?= databases/postgresql7"
+ echo "LIB_DEPENDS+= pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"
if [ -x ${LOCALBASE}/pgsql/bin/postgres -a ! -x ${LOCALBASE}/bin/postgres ]; then
PGPREFIX=${LOCALBASE}/pgsql
else
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php
index dd709527cacb..2230696ea58d 100644
--- a/www/mod_php5/scripts/configure.php
+++ b/www/mod_php5/scripts/configure.php
@@ -168,7 +168,8 @@ while [ "$1" ]; do
echo "CONFIGURE_ARGS+=--with-mysql=\${LOCALBASE}"
;;
\"PostgreSQL\")
- echo "LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7"
+ echo "POSTGRESQL_PORT?= databases/postgresql7"
+ echo "LIB_DEPENDS+= pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"
if [ -x ${LOCALBASE}/pgsql/bin/postgres -a ! -x ${LOCALBASE}/bin/postgres ]; then
PGPREFIX=${LOCALBASE}/pgsql
else
diff --git a/www/oops/scripts/configure.oops b/www/oops/scripts/configure.oops
index 1aa2f69016f8..00d75a479bc6 100644
--- a/www/oops/scripts/configure.oops
+++ b/www/oops/scripts/configure.oops
@@ -58,7 +58,8 @@ while [ "$1" ]; do
echo "CONFIGURE_ARGS+= --with-MYSQL=\${PREFIX}"
;;
\"PgSQL\")
- 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=\${PREFIX}/pgsql"
;;
\"PCRE\")