diff options
-rw-r--r-- | www/mod_php3/scripts/configure.php | 3 | ||||
-rw-r--r-- | www/mod_php4/scripts/configure.php | 3 | ||||
-rw-r--r-- | www/mod_php5/scripts/configure.php | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php index d70d575e246b..b7ff0e1013fd 100644 --- a/www/mod_php3/scripts/configure.php +++ b/www/mod_php3/scripts/configure.php @@ -111,6 +111,9 @@ while [ "$1" ]; do echo "BUILD_DEPENDS+= \${PREFIX}/lib/libldap.a:\${PORTSDIR}/net/openldap" echo "BUILD_DEPENDS+= \${PREFIX}/lib/liblber.a:\${PORTSDIR}/net/openldap" echo "PHP_CONF_ARGS+= --with-ldap=\${PREFIX}" + if [ -f /usr/lib/libkrb.a -a -f /usr/lib/libdes.a ]; then + echo "CONFIGURE_ENV+= LIBS='-lkrb -ldes -L\${PREFIX}/lib'" + fi ;; \"SNMP\") echo "LIB_DEPENDS+= snmp.4:\${PORTSDIR}/net/ucd-snmp" diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index 8d1eae48509b..a6630b4777d8 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -123,6 +123,9 @@ while [ "$1" ]; do echo "BUILD_DEPENDS+= \${PREFIX}/lib/libldap.a:\${PORTSDIR}/net/openldap" echo "BUILD_DEPENDS+= \${PREFIX}/lib/liblber.a:\${PORTSDIR}/net/openldap" echo "PHP_CONF_ARGS+= --with-ldap=\${PREFIX}" + if [ -f /usr/lib/libkrb.a -a -f /usr/lib/libdes.a ]; then + echo "CONFIGURE_ENV+= LIBS='-lkrb -ldes -L\${PREFIX}/lib'" + fi ;; \"SNMP\") echo "LIB_DEPENDS+= snmp.4:\${PORTSDIR}/net/ucd-snmp" diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index 8d1eae48509b..a6630b4777d8 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/scripts/configure.php @@ -123,6 +123,9 @@ while [ "$1" ]; do echo "BUILD_DEPENDS+= \${PREFIX}/lib/libldap.a:\${PORTSDIR}/net/openldap" echo "BUILD_DEPENDS+= \${PREFIX}/lib/liblber.a:\${PORTSDIR}/net/openldap" echo "PHP_CONF_ARGS+= --with-ldap=\${PREFIX}" + if [ -f /usr/lib/libkrb.a -a -f /usr/lib/libdes.a ]; then + echo "CONFIGURE_ENV+= LIBS='-lkrb -ldes -L\${PREFIX}/lib'" + fi ;; \"SNMP\") echo "LIB_DEPENDS+= snmp.4:\${PORTSDIR}/net/ucd-snmp" |