diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 2000-12-28 14:38:34 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 2000-12-28 14:38:34 +0000 |
commit | a2df0a9f4014df40244bd0de937b7b9f4ce4909e (patch) | |
tree | 284613e4a8d2235134393bba467c69d9513b8648 /www/mod_php3 | |
parent | 6f3359592fd9620054d28f5ecb64e6494699d147 (diff) | |
download | ports-a2df0a9f4014df40244bd0de937b7b9f4ce4909e.tar.gz ports-a2df0a9f4014df40244bd0de937b7b9f4ce4909e.zip |
Notes
Diffstat (limited to 'www/mod_php3')
-rw-r--r-- | www/mod_php3/scripts/configure.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php index 6bdb59bf297c..db7df8f41e6f 100644 --- a/www/mod_php3/scripts/configure.php +++ b/www/mod_php3/scripts/configure.php @@ -97,6 +97,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" + fi ;; \"SybaseDB\") echo "LIB_DEPENDS+= sybdb.0:\${PORTSDIR}/databases/freetds" @@ -126,7 +129,7 @@ while [ "$1" ]; do echo "LIB_DEPENDS+= lber.1:\${PORTSDIR}/net/openldap" echo "CONFIGURE_ARGS+=--with-ldap=\${PREFIX}" if [ -f /usr/lib/libkrb.a -a -f /usr/lib/libdes.a -a ! -L /usr/lib/libdes.a ]; then - echo "CONFIGURE_ENV+= LIBS='-lkrb -ldes -L\${PREFIX}/lib'" + LIBS="${LIBS} -lkrb -ldes -L\${PREFIX}/lib" fi ;; \"SNMP\") @@ -154,3 +157,7 @@ while [ "$1" ]; do esac shift done + +if [ "${LIBS}" ]; then + echo "CONFIGURE_ENV+= LIBS='${LIBS}'" +fi |