diff options
author | dirk <dirk@FreeBSD.org> | 1999-10-09 23:00:21 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 1999-10-09 23:00:21 +0800 |
commit | d2a2ace36ac34fb0d0167e1073e151245670eed4 (patch) | |
tree | 51b09b2d147540955200e6bcc177932a4cab3dd1 /www/mod_php5 | |
parent | 249f76bed8bcb20ab3acaec65854e2edfcb762aa (diff) | |
download | freebsd-ports-gnome-d2a2ace36ac34fb0d0167e1073e151245670eed4.tar.gz freebsd-ports-gnome-d2a2ace36ac34fb0d0167e1073e151245670eed4.tar.zst freebsd-ports-gnome-d2a2ace36ac34fb0d0167e1073e151245670eed4.zip |
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/mod_php5')
-rw-r--r-- | www/mod_php5/scripts/configure.php | 3 |
1 files changed, 3 insertions, 0 deletions
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" |