summaryrefslogtreecommitdiff
path: root/lang/ghc
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2008-11-03 10:08:15 +0000
committermarkd <markd@pkgsrc.org>2008-11-03 10:08:15 +0000
commit9ca9a2327f3314e6cc9b8ae65f43d6483dea34e9 (patch)
tree75a2dc6c63ebe04dde7ef489013cc23c4715191e /lang/ghc
parentc863fc80839ce3a27039ee8b62ca05646fcbcc11 (diff)
downloadpkgsrc-9ca9a2327f3314e6cc9b8ae65f43d6483dea34e9.tar.gz
Fix build with perl 5.10.
As perl 5.6 wont be seen in a pkgsrc context just replace the test for 5.6 with one for 5.10 rather than a more substantial change.
Diffstat (limited to 'lang/ghc')
-rw-r--r--lang/ghc/distinfo3
-rw-r--r--lang/ghc/patches/patch-at13
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/ghc/distinfo b/lang/ghc/distinfo
index ddfa04d09d7..64597649856 100644
--- a/lang/ghc/distinfo
+++ b/lang/ghc/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2008/07/20 00:26:52 kristerw Exp $
+$NetBSD: distinfo,v 1.24 2008/11/03 10:08:15 markd Exp $
SHA1 (ghc-6.4.2-i386-unknown-netbsd-hc.tar.gz) = 29c1a17a83ec0ddec8ff231e009c740ebc61dd6c
RMD160 (ghc-6.4.2-i386-unknown-netbsd-hc.tar.gz) = 5ce775a19797fe257357fedd33db2354dd50d2de
@@ -30,3 +30,4 @@ SHA1 (patch-ap) = 13afc2f1c51fc10f5bc657528599e2d53b11507b
SHA1 (patch-aq) = 554514e160ae2bdcab0dfd444839d333a72b5b4f
SHA1 (patch-ar) = 0cc6fedc5ee6304b201da79b7cc0104a804501cd
SHA1 (patch-as) = cebeefbeada25b1d52a528c4d83d66b7a2766e1a
+SHA1 (patch-at) = 52fa9c5055e48ecb90ab36f14211eae6c085eace
diff --git a/lang/ghc/patches/patch-at b/lang/ghc/patches/patch-at
new file mode 100644
index 00000000000..abfa6e53980
--- /dev/null
+++ b/lang/ghc/patches/patch-at
@@ -0,0 +1,13 @@
+$NetBSD: patch-at,v 1.3 2008/11/03 10:08:15 markd Exp $
+
+--- ../ghc-6.4.2/configure.orig 2006-04-19 07:36:55.000000000 +1200
++++ ../ghc-6.4.2/configure
+@@ -2377,7 +2377,7 @@ fi
+ exit 1
+ else
+ $PerlCmd -v >conftest.out 2>&1
+- if grep "v5.6" conftest.out >/dev/null 2>&1; then
++ if grep "v5.10" conftest.out >/dev/null 2>&1; then
+ :
+ else
+ if grep "v5.8" conftest.out >/dev/null 2>&1; then