aboutsummaryrefslogtreecommitdiff
path: root/security/pam_ldap
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-04-01 17:30:37 +0000
committerPatrick Li <pat@FreeBSD.org>2002-04-01 17:30:37 +0000
commitbef868fb317d0e61339ad109d7b87e2e914d0966 (patch)
tree4c2504672418ffbdd84f482596f5b23ad7852160 /security/pam_ldap
parent33f2b10e79a5e866eb965f94193dff6fea3acf50 (diff)
downloadports-bef868fb317d0e61339ad109d7b87e2e914d0966.tar.gz
ports-bef868fb317d0e61339ad109d7b87e2e914d0966.zip
Notes
Diffstat (limited to 'security/pam_ldap')
-rw-r--r--security/pam_ldap/Makefile4
-rw-r--r--security/pam_ldap/files/patch-configure11
2 files changed, 11 insertions, 4 deletions
diff --git a/security/pam_ldap/Makefile b/security/pam_ldap/Makefile
index 4be9a62109e1..3aa8faaefc41 100644
--- a/security/pam_ldap/Makefile
+++ b/security/pam_ldap/Makefile
@@ -16,10 +16,6 @@ MAINTAINER= marcus@marcuscom.com
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 500030
-BROKEN= "Does not work correctly with OpenPAM"
-.endif
-
.if defined(WITH_LDAP_V3)
LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2 \
lber.2:${PORTSDIR}/net/openldap2
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