summaryrefslogtreecommitdiff
path: root/net/nss_ldap/files/patch-configure.in
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2008-12-10 16:11:25 +0000
committerMartin Matuska <mm@FreeBSD.org>2008-12-10 16:11:25 +0000
commita9309546e9fd990e18ad7b75b4cd59ca57590017 (patch)
tree72d534839223e3258d225defee40ab2ab282ce3a /net/nss_ldap/files/patch-configure.in
parentUpdate to 1.25 (diff)
- Update to 1.264 [1]
- use more autotools [2] - fixes assertion problems related to openldap 2.4 [3] PR: ports/129445 [1], ports/127675 [2], ports/122750 [3] Submitted by: mm [1], "Eugene M. Kim" <gene@nttmcl.com> [2] Approved by: maintainer (timeout ports/127675, ports/129030, ports/127675)
Notes
Notes: svn path=/head/; revision=224080
Diffstat (limited to 'net/nss_ldap/files/patch-configure.in')
-rw-r--r--net/nss_ldap/files/patch-configure.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/net/nss_ldap/files/patch-configure.in b/net/nss_ldap/files/patch-configure.in
new file mode 100644
index 000000000000..7138c515853c
--- /dev/null
+++ b/net/nss_ldap/files/patch-configure.in
@@ -0,0 +1,26 @@
+--- configure.in.orig 2007-10-29 06:30:12.000000000 -0700
++++ configure.in 2008-09-26 20:38:20.000000000 -0700
+@@ -96,11 +96,15 @@
+ linux*) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic -Wl,--version-script,\$(srcdir)/exports.linux" ;;
+ *) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic" ;;
+ esac
++case "$target_os" in
++freebsd*) TARGET_OS=FreeBSD ;;
++esac
+
+ AM_CONDITIONAL(GCC, test "$GCC" = "yes")
+ AM_CONDITIONAL(GLIBC, test "$target_os" = "linux" -o "$target_os" = "linux-gnu")
+ AM_CONDITIONAL(AIX, test "$TARGET_OS" = AIX)
+ AM_CONDITIONAL(HPUX, test "$TARGET_OS" = HPUX)
++AM_CONDITIONAL(FreeBSD, test "$TARGET_OS" = FreeBSD)
+
+ AM_CONDITIONAL(USE_NATIVE_LINKER, test -n "$nss_ldap_so_LD")
+
+@@ -152,7 +156,6 @@
+ aix*) AC_CHECK_HEADERS(irs.h usersec.h) ;;
+ hpux*) AC_CHECK_HEADERS(nsswitch.h) ;;
+ *) AC_CHECK_HEADERS(nss.h)
+- AC_CHECK_HEADERS(nsswitch.h)
+ AC_CHECK_HEADERS(irs.h) ;;
+ esac
+ AC_CHECK_HEADERS(thread.h)