summaryrefslogtreecommitdiff
path: root/security/pam_ldap/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'security/pam_ldap/files/patch-configure')
-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 000000000000..da699f8192e6
--- /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