summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-10-27 09:10:44 +0000
committerjperkin <jperkin>2015-10-27 09:10:44 +0000
commitd4d75eb6d8163a0dec4fb30a2d82473d60b9d492 (patch)
tree4bc6c94bbd408d1ae38d678b1f947bda709bc0b0
parent9b0554a119a4c8eb2db002f52f321a04de9595ee (diff)
downloadpkgsrc-d4d75eb6d8163a0dec4fb30a2d82473d60b9d492.tar.gz
Support SunOS/clang, fixes 64-bit build.
-rw-r--r--lang/perl5/distinfo4
-rw-r--r--lang/perl5/patches/patch-hints_solaris__2.sh13
2 files changed, 13 insertions, 4 deletions
diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo
index 7b029ccd446..ca488d611bf 100644
--- a/lang/perl5/distinfo
+++ b/lang/perl5/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.129 2015/06/24 11:43:42 he Exp $
+$NetBSD: distinfo,v 1.130 2015/10/27 09:10:44 jperkin Exp $
SHA1 (perl-5.22.0.tar.bz2) = 400338c91c56420d98142cbfcb84d418cae2c98c
RMD160 (perl-5.22.0.tar.bz2) = 16f3ac6c5d4d72e599222bcbf2591c3b2aa2f857
@@ -19,6 +19,6 @@ SHA1 (patch-hints_cygwin.sh) = 1b21d927d6b7379754c4cd64a2b05d3632c35470
SHA1 (patch-hints_darwin.sh) = bb4ea9e16a1d441388b8e9cdd37a7d757f3f1687
SHA1 (patch-hints_netbsd.sh) = 0d549a48800372d75fe34b783529a78cba90f646
SHA1 (patch-hints_sco.sh) = 8d43cdc0632799e1cdb5dc6fdb968052a9ae4216
-SHA1 (patch-hints_solaris__2.sh) = f054d36917c74df8219c0fc84e9b20fa312a56a3
+SHA1 (patch-hints_solaris__2.sh) = 0e54889648a6f0f2a0232c5e01bef89d245c213d
SHA1 (patch-ta) = a9d13eeec22733e4087942f217a0d47a19498a6f
SHA1 (patch-ze) = d6fb718a1417e37a7d6bee1ae89fe2beec51c81b
diff --git a/lang/perl5/patches/patch-hints_solaris__2.sh b/lang/perl5/patches/patch-hints_solaris__2.sh
index 7a5fbb36196..308443cf226 100644
--- a/lang/perl5/patches/patch-hints_solaris__2.sh
+++ b/lang/perl5/patches/patch-hints_solaris__2.sh
@@ -1,9 +1,18 @@
-$NetBSD: patch-hints_solaris__2.sh,v 1.1 2015/05/15 14:32:27 ryoon Exp $
+$NetBSD: patch-hints_solaris__2.sh,v 1.2 2015/10/27 09:10:44 jperkin Exp $
Redo PR pkg/44999.
---- hints/solaris_2.sh.orig 2014-12-27 11:48:52.000000000 +0000
+--- hints/solaris_2.sh.orig 2015-05-13 20:19:29.000000000 +0000
+++ hints/solaris_2.sh
+@@ -585,7 +585,7 @@ EOM
+ fi
+ fi
+ case "${cc:-cc} -v 2>/dev/null" in
+- *gcc*)
++ *gcc*|clang*)
+ echo 'int main() { return 0; }' > try.c
+ case "`${cc:-cc} $ccflags -mcpu=v9 -m64 -S try.c 2>&1 | grep 'm64 is not supported by this configuration'`" in
+ *"m64 is not supported"*)
@@ -622,7 +622,7 @@ EOM
# use that with Solaris 11 and later, but keep
# the old behavior for older Solaris versions.