summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-10-09 15:00:21 +0000
committerdirk <dirk@FreeBSD.org>1999-10-09 15:00:21 +0000
commitd2a2ace36ac34fb0d0167e1073e151245670eed4 (patch)
tree51b09b2d147540955200e6bcc177932a4cab3dd1 /www
parent249f76bed8bcb20ab3acaec65854e2edfcb762aa (diff)
downloadFreeBSD-ports-d2a2ace36ac34fb0d0167e1073e151245670eed4.zip
FreeBSD-ports-d2a2ace36ac34fb0d0167e1073e151245670eed4.tar.gz
Add a quick'n dirty hack to fix an build error if openldap support
is selected and kerberos is installed. Reported by: Andreas Klemm <andreas@FreeBSD.org> (years ago...) Salvatore Greco <salvo@reaper.org>
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
3 files changed, 9 insertions, 0 deletions
diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php
index d70d575..b7ff0e1 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 8d1eae4..a6630b4 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 8d1eae4..a6630b4 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"
OpenPOWER on IntegriCloud