From 147bc5cff88ec18a6bc5e4e64df0f5e04339aaf7 Mon Sep 17 00:00:00 2001 From: Oliver Eikemeier Date: Fri, 14 Nov 2003 17:12:05 +0000 Subject: - fix make configure WITH_PERL=yes (OpenLDAP ITS#2764) Submitted by: Matthew Seaman Approved by: marcus (mentor) Obtained from: OpenLDAP CVS --- net/openldap24-server/files/patch-configure | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 net/openldap24-server/files/patch-configure (limited to 'net/openldap24-server/files/patch-configure') diff --git a/net/openldap24-server/files/patch-configure b/net/openldap24-server/files/patch-configure new file mode 100644 index 000000000000..ff7839337b46 --- /dev/null +++ b/net/openldap24-server/files/patch-configure @@ -0,0 +1,19 @@ +# +# ITS#2764: fix sed of perl ldopts +# +--- configure.orig Sun Oct 12 00:40:06 2003 ++++ configure Fri Nov 14 15:39:47 2003 +@@ -7809,10 +7809,11 @@ + + else + PERL_CPPFLAGS="`$PERLBIN -MExtUtils::Embed -e ccopts`" ++ PERL_LDFLAGS="`$PERLBIN -MExtUtils::Embed -e ldopts|sed -e 's/ -lc / /g' -e 's/ -lc$//'`" + if test x"$ol_with_perl_module" = "xstatic" ; then +- SLAPD_PERL_LDFLAGS="`$PERLBIN -MExtUtils::Embed -e ldopts|sed -e s/-lc//`" ++ SLAPD_PERL_LDFLAGS="$PERL_LDFLAGS" + else +- MOD_PERL_LDFLAGS="`$PERLBIN -MExtUtils::Embed -e ldopts|sed -e s/-lc//`" ++ MOD_PERL_LDFLAGS="$PERL_LDFLAGS" + fi + ol_link_perl=yes + fi -- cgit v1.2.3