ports/lang/perl5-devel/files/patch-Makefile.SH
Dimitry Andric 33b05a16fc lang/perl5*: remove workarounds for lld 15 and dtrace enabled
After https://cgit.freebsd.org/src/commit/?id=be39466a1035, there is no
need anymore to patch the perl5 Makefiles to add
"-Wl,--allow-multiple-definition" to the linker flags. They should now
link with lld 15 and later without any issues.

PR:		265516
Fixes:		8c69fc20e6
MFH:		2022Q4
2022-12-12 14:34:48 +01:00

12 lines
325 B
Bash

Allow customisation of shrpldflags.
--- Makefile.SH.orig 2022-06-19 19:29:35 UTC
+++ Makefile.SH
@@ -40,7 +40,6 @@ linklibperl_nonshr=''
pwd="`pwd`"
linklibperl='$(LIBPERL)'
linklibperl_nonshr=''
-shrpldflags='$(LDDLFLAGS)'
ldlibpth=''
DPERL_EXTERNAL_GLOB='-DPERL_EXTERNAL_GLOB'
DPERL_IS_MINIPERL='-DPERL_IS_MINIPERL'