summaryrefslogtreecommitdiffstats
path: root/security/pam_ldap/files
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-04-01 17:30:37 +0000
committerpat <pat@FreeBSD.org>2002-04-01 17:30:37 +0000
commit5eb7372dd122aa4a570e92eaa83916969cf93942 (patch)
tree43259842c94fd61e875c3a18944182ddb48069c7 /security/pam_ldap/files
parent8032f5ee48597993699dcc554d6620a1bfdc0156 (diff)
downloadFreeBSD-ports-5eb7372dd122aa4a570e92eaa83916969cf93942.zip
FreeBSD-ports-5eb7372dd122aa4a570e92eaa83916969cf93942.tar.gz
Unbreak pam_ldap on -CURRENT after the latest OpenPAM patch
PR: 36613 Submitted by: maintainer
Diffstat (limited to 'security/pam_ldap/files')
-rw-r--r--security/pam_ldap/files/patch-configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/pam_ldap/files/patch-configure b/security/pam_ldap/files/patch-configure
new file mode 100644
index 0000000..da699f8
--- /dev/null
+++ b/security/pam_ldap/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Sun Mar 31 16:31:53 2002
++++ configure Sun Mar 31 16:32:13 2002
+@@ -1458,7 +1458,7 @@
+ CPPFLAGS="$CPPFLAGS -DLDAP_REFERRALS"
+
+ case "$target_os" in
+-freebsd*) CPPFLAGS="$CPPFLAGS -DPIC -D_REENTRANT" ;;
++freebsd*) CPPFLAGS="$CPPFLAGS -DPIC -D_REENTRANT $PTHREAD_CFLAGS" ;;
+ aix*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
+ *) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
+ esac
OpenPOWER on IntegriCloud