mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 14:50:31 -04:00
Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> Approved by: marcus (mentor) Obtained from: OpenLDAP CVS
19 lines
633 B
Text
19 lines
633 B
Text
#
|
|
# 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
|