summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2005-10-07 21:09:27 +0000
committerjdolecek <jdolecek@pkgsrc.org>2005-10-07 21:09:27 +0000
commit30cb9b04f251521c52571c73df5009dce7caa37b (patch)
tree20594d49f389bf5e29d2d75faa912a8759b3b845 /lang
parente0c6ef24fc44ed422eec16474f8786d818c74b58 (diff)
downloadpkgsrc-30cb9b04f251521c52571c73df5009dce7caa37b.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 'lang')
-rw-r--r--lang/php5/distinfo3
-rw-r--r--lang/php5/patches/patch-am12
2 files changed, 14 insertions, 1 deletions
diff --git a/lang/php5/distinfo b/lang/php5/distinfo
index 001c1693ffd..fd69825879f 100644
--- a/lang/php5/distinfo
+++ b/lang/php5/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2005/09/08 18:49:01 jdolecek Exp $
+$NetBSD: distinfo,v 1.9 2005/10/07 21:09:28 jdolecek Exp $
SHA1 (php-5.0.5.tar.bz2) = ffcc050f879265eb96f2c8dc79fa895047da9d4a
RMD160 (php-5.0.5.tar.bz2) = 6a9a892affba229770154407860cd1c2a098eaf9
@@ -6,3 +6,4 @@ Size (php-5.0.5.tar.bz2) = 4895556 bytes
SHA1 (patch-aj) = cc68ce876dc5998becbe2f1f74288b5da5bbaca3
SHA1 (patch-ak) = 0faa523103e0a9a3c01c78c2fe9a64c0a9b2fc43
SHA1 (patch-al) = 28ad9006b387e2b9984ad49beea21c9d46e63b46
+SHA1 (patch-am) = 0de0be745262c1e986062c7a50261dbe58f97ac9
diff --git a/lang/php5/patches/patch-am b/lang/php5/patches/patch-am
new file mode 100644
index 00000000000..2debaa29ec5
--- /dev/null
+++ b/lang/php5/patches/patch-am
@@ -0,0 +1,12 @@
+$NetBSD: patch-am,v 1.1 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)])