summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2011-08-05 13:12:18 +0000
committerryoon <ryoon@pkgsrc.org>2011-08-05 13:12:18 +0000
commite8290649d149cee853407fb9edcce37aea9b56f6 (patch)
tree71b50cf590339edb37de3c3c6597bb4c5bfca8ea /lang/perl5
parent74e422283cb813977c2a17fe6e3f538a5b4eb62b (diff)
downloadpkgsrc-e8290649d149cee853407fb9edcce37aea9b56f6.tar.gz
Fix build on MacOS X Lion (Darwin Kernel Version 11.0.1).
From upstream comment: nm isn't known to work after Snow Leopard and XCode 4; testing with OS X 10.5 and Xcode 3 shows a working nm, but pretending it doesn't work produces no problems. From upstream commit log: Testing from 10.5 with Xcode 3 to the latest OS X works with usenm='false' but not always with usenm='true'
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/distinfo3
-rw-r--r--lang/perl5/patches/patch-hints_darwin.sh19
2 files changed, 21 insertions, 1 deletions
diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo
index 12f88107a16..b3696bc6d4d 100644
--- a/lang/perl5/distinfo
+++ b/lang/perl5/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.75 2011/07/19 13:58:53 joerg Exp $
+$NetBSD: distinfo,v 1.76 2011/08/05 13:12:18 ryoon Exp $
SHA1 (perl-5.12.2.tar.gz) = c157f214a93ce20fc06dc9d9c902c05ad1327cb1
RMD160 (perl-5.12.2.tar.gz) = b1fd7f05d96fa6a263d3622654af6b584c308ce4
@@ -18,6 +18,7 @@ SHA1 (patch-cp) = 0b22d334df24d128142855464bf6dd61d4d82975
SHA1 (patch-dm) = 8e8a0ede0f371ef0ad3a0433912967f3b8f3dd43
SHA1 (patch-ds) = e14502548e2b9579b9ac654bbc83d78cd249e8ab
SHA1 (patch-dt) = 4d15e650b3aa9a1c8e50e5f9db91d82db3b68b8f
+SHA1 (patch-hints_darwin.sh) = 40e545a13938c96eab61cbf9d04050574a36a27b
SHA1 (patch-pp.c) = fc8eaa16bfb214d4c346827fbffa7cd345f46c4b
SHA1 (patch-ta) = 69f0d2df022eb8ff0dbcc77bde638cdc9c6391b1
SHA1 (patch-zc) = c2a4c65a849f221294eaa61b52cd1fcb196e675b
diff --git a/lang/perl5/patches/patch-hints_darwin.sh b/lang/perl5/patches/patch-hints_darwin.sh
new file mode 100644
index 00000000000..9398028274f
--- /dev/null
+++ b/lang/perl5/patches/patch-hints_darwin.sh
@@ -0,0 +1,19 @@
+$NetBSD: patch-hints_darwin.sh,v 1.1 2011/08/05 13:12:18 ryoon Exp $
+
+Patch from http://perl5.git.perl.org/perl.git/commitdiff/60a655a1ee05c577268377c1135ffabc34dbff43
+
+--- /usr/tmp/lang/perl5/work/perl-5.12.2/hints/darwin.sh.orig 2010-09-05 15:14:33.000000000 +0000
++++ /usr/tmp/lang/perl5/work/perl-5.12.2/hints/darwin.sh
+@@ -68,8 +68,10 @@ esac
+ # Since we can build fat, the archname doesn't need the processor type
+ archname='darwin';
+
+-# nm works.
+-usenm='true';
++# nm isn't known to work after Snow Leopard and XCode 4; testing with OS X 10.5
++# and Xcode 3 shows a working nm, but pretending it doesn't work produces no
++# problems.
++usenm='false';
+
+ case "$optimize" in
+ '')