diff options
author | joerg <joerg@pkgsrc.org> | 2011-07-19 13:58:53 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-07-19 13:58:53 +0000 |
commit | 2b495d977d4f855a105af6b45989042849d65877 (patch) | |
tree | 4baa16ee222102338e9d11fdd3bab68a3e90bbf3 /lang | |
parent | 59c478016ccadd8164a5b83eebcd382023265bc5 (diff) | |
download | pkgsrc-2b495d977d4f855a105af6b45989042849d65877.tar.gz |
Drop --whole-archive. It should be a linker option (-Wl prefixed) in
first place, but it breaks linkage with clang as it forced libgcc to be
included in libperl, resulting in text relocations.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl5/distinfo | 3 | ||||
-rw-r--r-- | lang/perl5/patches/patch-ad | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo index 87c1a796e46..12f88107a16 100644 --- a/lang/perl5/distinfo +++ b/lang/perl5/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.74 2011/04/07 04:03:58 taca Exp $ +$NetBSD: distinfo,v 1.75 2011/07/19 13:58:53 joerg Exp $ SHA1 (perl-5.12.2.tar.gz) = c157f214a93ce20fc06dc9d9c902c05ad1327cb1 RMD160 (perl-5.12.2.tar.gz) = b1fd7f05d96fa6a263d3622654af6b584c308ce4 @@ -6,6 +6,7 @@ Size (perl-5.12.2.tar.gz) = 15143778 bytes SHA1 (patch-aa) = 4c8197cdc0595a17ba377a28c7457f923c2d9bf9 SHA1 (patch-ab) = e3aa6bf9695addb9b754297120caf8683a625d1a SHA1 (patch-ac) = c1893ea4cf4b89b03b3acc5dec9b5828d50c5dad +SHA1 (patch-ad) = 6018c045b0bce177eab86b16746e189cddbf140f SHA1 (patch-ah) = aca6b4bf08809789058f3ec259c6df86df2aaf83 SHA1 (patch-ai) = 5abdbbddcba79088996056ab88a34db5fcd16b01 SHA1 (patch-aq) = 3ece22678e3e6dcd3cf641e6389ff203cbe351b9 diff --git a/lang/perl5/patches/patch-ad b/lang/perl5/patches/patch-ad new file mode 100644 index 00000000000..0b67fabf5c5 --- /dev/null +++ b/lang/perl5/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.15 2011/07/19 13:58:53 joerg Exp $ + +--- hints/netbsd.sh.orig 2011-07-15 12:39:37.000000000 +0000 ++++ hints/netbsd.sh +@@ -35,7 +35,7 @@ case "$osvers" in + d_dlopen=$define + d_dlerror=$define + cccdlflags="-DPIC -fPIC $cccdlflags" +- lddlflags="--whole-archive -shared $lddlflags" ++ lddlflags="-shared $lddlflags" + rpathflag="-Wl,-rpath," + case "$osvers" in + 1.[0-5]*) |