diff options
Diffstat (limited to 'lang/perl5.36/files')
-rw-r--r-- | lang/perl5.36/files/patch-hints_freebsd.sh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lang/perl5.36/files/patch-hints_freebsd.sh b/lang/perl5.36/files/patch-hints_freebsd.sh index efcbcfea109d..8401474feca7 100644 --- a/lang/perl5.36/files/patch-hints_freebsd.sh +++ b/lang/perl5.36/files/patch-hints_freebsd.sh @@ -1,6 +1,6 @@ Remove libs that are not here on FreeBSD. ---- hints/freebsd.sh.orig 2016-12-05 10:28:13 UTC +--- hints/freebsd.sh.orig 2020-12-28 16:57:44 UTC +++ hints/freebsd.sh @@ -88,6 +88,8 @@ case "$osvers" in esac @@ -22,3 +22,14 @@ Remove libs that are not here on FreeBSD. ;; esac +@@ -142,8 +148,8 @@ case "$osvers" in + *) + libpth="/usr/lib /usr/local/lib" + glibpth="/usr/lib /usr/local/lib" +- ldflags="-Wl,-E " +- lddlflags="-shared " ++ ldflags="-Wl,-E,--allow-multiple-definition" ++ lddlflags="-shared -Wl,--allow-multiple-definition" + cccdlflags='-DPIC -fPIC' + ;; + esac |