diff options
author | jdolecek <jdolecek> | 2005-10-07 21:09:27 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2005-10-07 21:09:27 +0000 |
commit | 34857026234f4ecc1111d3bb01281144deb67104 (patch) | |
tree | 20594d49f389bf5e29d2d75faa912a8759b3b845 /www/php4 | |
parent | 41264dfa472c7fe177fe2ca4174a9f302727c2a8 (diff) | |
download | pkgsrc-34857026234f4ecc1111d3bb01281144deb67104.tar.gz |
Add a fix to LDAP extension build to properly detect LDAP capabilities,
such as TLS support.
Patch provided by Stoned Elipot in private e-mail.
Diffstat (limited to 'www/php4')
-rw-r--r-- | www/php4/distinfo | 3 | ||||
-rw-r--r-- | www/php4/patches/patch-am | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/www/php4/distinfo b/www/php4/distinfo index 2c0ec1b6282..b57a12850a8 100644 --- a/www/php4/distinfo +++ b/www/php4/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.44 2005/10/05 15:59:47 tron Exp $ +$NetBSD: distinfo,v 1.45 2005/10/07 21:09:27 jdolecek Exp $ SHA1 (php-4.4.0.tar.bz2) = 5e0afe6e5f8c751f880a50ad4fa1716f0242ef37 RMD160 (php-4.4.0.tar.bz2) = 4792e78b6f2f3e3347a1ac945b48efaccedf4542 @@ -15,3 +15,4 @@ SHA1 (patch-ai) = 0b9c1c9fb75a64026f2fb3cbd44cc19e0a1f186c SHA1 (patch-aj) = cc68ce876dc5998becbe2f1f74288b5da5bbaca3 SHA1 (patch-ak) = 1f9fbe26c7329e1d18eec053499ee2d574b5b970 SHA1 (patch-al) = 28ad9006b387e2b9984ad49beea21c9d46e63b46 +SHA1 (patch-am) = 0de0be745262c1e986062c7a50261dbe58f97ac9 diff --git a/www/php4/patches/patch-am b/www/php4/patches/patch-am new file mode 100644 index 00000000000..71ff02daf8c --- /dev/null +++ b/www/php4/patches/patch-am @@ -0,0 +1,12 @@ +$NetBSD: patch-am,v 1.3 2005/10/07 21:09:28 jdolecek Exp $ + +--- ext/ldap/config.m4.orig 2005-05-08 16:06:24.000000000 +0000 ++++ ext/ldap/config.m4 +@@ -114,6 +114,7 @@ if test "$PHP_LDAP" != "no"; then + _SAVE_CPPFLAGS=$CPPFLAGS + _SAVE_LDFLAGS=$LDFLAGS + CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR" ++ LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD" + AC_CACHE_CHECK([for 3 arg ldap_set_rebind_proc], ac_cv_3arg_setrebindproc, + [AC_TRY_COMPILE([#include <ldap.h>], [ldap_set_rebind_proc(0,0,0)], + ac_cv_3arg_setrebindproc=yes, ac_cv_3arg_setrebindproc=no)]) |