aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-03-11 15:29:48 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-03-11 15:29:48 +0000
commit80fbae31e631c3c5fef0d16d65480467dce71eea (patch)
tree51709076757083d33f133ad147846aee3b1e5604 /www
parentff8ae451ceb25433c66f919ccde835883700ff65 (diff)
downloadports-80fbae31e631c3c5fef0d16d65480467dce71eea.tar.gz
ports-80fbae31e631c3c5fef0d16d65480467dce71eea.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/mod_php4/scripts/configure.php11
-rw-r--r--www/mod_php5/scripts/configure.php11
2 files changed, 10 insertions, 12 deletions
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index 10fbfbec5abb..664c7de99291 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/scripts/configure.php
@@ -107,8 +107,9 @@ while [ "$1" ]; do
\"PostgreSQL\")
echo "LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7"
echo "CONFIGURE_ARGS+=--with-pgsql=\${PREFIX}/pgsql"
- if /usr/bin/ldd ${PREFIX}/pgsql/bin/postgres | /usr/bin/grep -q "libssl"; then
- LIBS="-lcrypto -lssl"
+ if /usr/bin/ldd ${PREFIX}/pgsql/bin/postgres 2> /dev/null | /usr/bin/grep -q "libssl"; then
+ echo "USE_OPENSSL= yes"
+ LIBS="${LIBS} -L\${OPENSSLBASE}/lib -lcrypto -lssl"
fi
;;
\"SybaseDB\")
@@ -143,12 +144,10 @@ while [ "$1" ]; do
fi
;;
\"SNMP\")
- echo "SNMP is DISABLED for now. Ignoring." > /dev/stderr
- ;;
- \"nothing\")
-
echo "LIB_DEPENDS+= snmp.4:\${PORTSDIR}/net/net-snmp"
echo "CONFIGURE_ARGS+=--with-snmp=\${PREFIX} --enable-ucd-snmp-hack"
+ echo "USE_OPENSSL= yes"
+ LIBS="${LIBS} -L\${OPENSSLBASE}/lib -lcrypto -lssl"
;;
\"XML\")
echo "BUILD_DEPENDS+= \${PREFIX}/lib/libexpat.a:\${PORTSDIR}/textproc/expat"
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php
index 10fbfbec5abb..664c7de99291 100644
--- a/www/mod_php5/scripts/configure.php
+++ b/www/mod_php5/scripts/configure.php
@@ -107,8 +107,9 @@ while [ "$1" ]; do
\"PostgreSQL\")
echo "LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7"
echo "CONFIGURE_ARGS+=--with-pgsql=\${PREFIX}/pgsql"
- if /usr/bin/ldd ${PREFIX}/pgsql/bin/postgres | /usr/bin/grep -q "libssl"; then
- LIBS="-lcrypto -lssl"
+ if /usr/bin/ldd ${PREFIX}/pgsql/bin/postgres 2> /dev/null | /usr/bin/grep -q "libssl"; then
+ echo "USE_OPENSSL= yes"
+ LIBS="${LIBS} -L\${OPENSSLBASE}/lib -lcrypto -lssl"
fi
;;
\"SybaseDB\")
@@ -143,12 +144,10 @@ while [ "$1" ]; do
fi
;;
\"SNMP\")
- echo "SNMP is DISABLED for now. Ignoring." > /dev/stderr
- ;;
- \"nothing\")
-
echo "LIB_DEPENDS+= snmp.4:\${PORTSDIR}/net/net-snmp"
echo "CONFIGURE_ARGS+=--with-snmp=\${PREFIX} --enable-ucd-snmp-hack"
+ echo "USE_OPENSSL= yes"
+ LIBS="${LIBS} -L\${OPENSSLBASE}/lib -lcrypto -lssl"
;;
\"XML\")
echo "BUILD_DEPENDS+= \${PREFIX}/lib/libexpat.a:\${PORTSDIR}/textproc/expat"