mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 17:50:31 -04:00
- 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)
26 lines
930 B
Text
26 lines
930 B
Text
--- 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)
|