summaryrefslogtreecommitdiff
path: root/lang/perl58
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>2005-03-09 03:49:23 +0000
committergarbled <garbled@pkgsrc.org>2005-03-09 03:49:23 +0000
commit294e8bc7146cedd6b87dc92e0565aa79fe5050fb (patch)
tree36efcacc43e0ae80fc18c65068a91d6945aad969 /lang/perl58
parentd9696bb528cc8cc90272124e4dfce8e021ea6ecd (diff)
downloadpkgsrc-294e8bc7146cedd6b87dc92e0565aa79fe5050fb.tar.gz
Some patches to make perl58 build on AIX 4.3.3. Tested build only on 4.3.3.
Diffstat (limited to 'lang/perl58')
-rw-r--r--lang/perl58/distinfo5
-rw-r--r--lang/perl58/patches/patch-cb18
-rw-r--r--lang/perl58/patches/patch-ck25
3 files changed, 41 insertions, 7 deletions
diff --git a/lang/perl58/distinfo b/lang/perl58/distinfo
index 04772f6e38e..f860b921a52 100644
--- a/lang/perl58/distinfo
+++ b/lang/perl58/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.30 2005/02/24 09:03:10 agc Exp $
+$NetBSD: distinfo,v 1.31 2005/03/09 03:49:23 garbled Exp $
SHA1 (perl-5.8.6.tar.bz2) = 5267c5b4900a995a10e4fc56fe10a6852004c29b
RMD160 (perl-5.8.6.tar.bz2) = 52fdee3caecf67417a9c081b7aae84807235cb27
@@ -11,7 +11,7 @@ SHA1 (patch-bd) = 9f96ba1912f2a8db93db31f7a63c0b49a045318d
SHA1 (patch-be) = 9f667f33ea24300a5580db84d0978ca53f126f29
SHA1 (patch-bf) = 9bc5690b41a70617cde89b805184a8d5605d20d1
SHA1 (patch-ca) = 3198a5f49c2a850b1ea1f5c6f0738f45da505924
-SHA1 (patch-cb) = de10a31b699d877cedb3ca849458e10071912972
+SHA1 (patch-cb) = 5eec09e832735d2e59fd82f7043fa78ee08cbd0d
SHA1 (patch-cc) = b04ea30ac47ae0748aa6b6c83c8de0396ace349f
SHA1 (patch-cd) = d9420f57f036567abac821a8144768a2a7057b47
SHA1 (patch-ce) = c7d2defd2cfa872c1f6651678bc3de6cd7aeaf34
@@ -20,4 +20,5 @@ SHA1 (patch-cg) = e1b56aaa40934f78298d1fd9303fbae33c472d8e
SHA1 (patch-ch) = 6cfd77bba102a4bca82576f061ba60c1610c4d07
SHA1 (patch-ci) = 89bc6e67b18ca903cb3791fd598fd579bc48298b
SHA1 (patch-cj) = 680b7161d7530825376b9d5c108fc01f15768e5e
+SHA1 (patch-ck) = 28207b8186c9ad194a1edc696159915bc16d1097
SHA1 (patch-zc) = eb81edd1144ec46285898afc641c03a3aad54977
diff --git a/lang/perl58/patches/patch-cb b/lang/perl58/patches/patch-cb
index b3527d4f6e0..5735307bf88 100644
--- a/lang/perl58/patches/patch-cb
+++ b/lang/perl58/patches/patch-cb
@@ -1,8 +1,7 @@
-$NetBSD: patch-cb,v 1.4 2005/01/18 00:56:44 jlam Exp $
-
---- Makefile.SH.orig 2004-10-21 11:30:02.000000000 -0400
-+++ Makefile.SH
-@@ -69,7 +69,11 @@ true)
+$NetBSD: patch-cb,v 1.5 2005/03/09 03:49:23 garbled Exp $
+--- Makefile.SH.orig 2004-10-21 08:30:02.000000000 -0700
++++ Makefile.SH 2005-03-08 18:05:48.000000000 -0700
+@@ -69,7 +69,11 @@
sunos*)
linklibperl="-lperl"
;;
@@ -15,3 +14,12 @@ $NetBSD: patch-cb,v 1.4 2005/01/18 00:56:44 jlam Exp $
linklibperl="-L. -lperl"
;;
aix*)
+@@ -77,7 +81,7 @@
+ case "$osvers" in
+ 3*) shrpldflags="$shrpldflags -e _nostart"
+ ;;
+- *) shrpldflags="$shrpldflags -b noentry"
++ *) shrpldflags="$shrpldflags -bnoentry"
+ ;;
+ esac
+ shrpldflags="$shrpldflags $ldflags $perllibs $cryptlib"
diff --git a/lang/perl58/patches/patch-ck b/lang/perl58/patches/patch-ck
new file mode 100644
index 00000000000..d995a6e1b02
--- /dev/null
+++ b/lang/perl58/patches/patch-ck
@@ -0,0 +1,25 @@
+$NetBSD: patch-ck,v 1.1 2005/03/09 03:49:23 garbled Exp $
+--- hints/aix_4.sh.orig 2004-09-09 23:29:04.000000000 -0700
++++ hints/aix_4.sh 2005-03-08 18:42:35.000000000 -0700
+@@ -103,9 +103,10 @@
+ esac
+
+ # uname -m output is too specific and not appropriate here
+-case "$archname" in
+- '') archname="$osname" ;;
+- esac
++#case "$archname" in
++# '') archname="$osname" ;;
++# esac
++archname="rs6000-$osname"
+
+ cc=${cc:-cc}
+ ccflags="$ccflags -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE"
+@@ -297,6 +298,7 @@
+ d_getgrent_r='undef'
+ d_getpwent_r='undef'
+ d_random_r='undef'
++ d_srandom_r='undef'
+ d_setgrent_r='undef'
+ d_setpwent_r='undef'
+ d_srand48_r='undef'