pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/perl58 Some patches to make perl58 build on AIX 4...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3e202e57bdc1
branches:  trunk
changeset: 490408:3e202e57bdc1
user:      garbled <garbled%pkgsrc.org@localhost>
date:      Wed Mar 09 03:49:23 2005 +0000

description:
Some patches to make perl58 build on AIX 4.3.3.  Tested build only on 4.3.3.

diffstat:

 lang/perl58/distinfo         |   5 +++--
 lang/perl58/patches/patch-cb |  18 +++++++++++++-----
 lang/perl58/patches/patch-ck |  25 +++++++++++++++++++++++++
 3 files changed, 41 insertions(+), 7 deletions(-)

diffs (82 lines):

diff -r 161cb3b2e3b8 -r 3e202e57bdc1 lang/perl58/distinfo
--- a/lang/perl58/distinfo      Tue Mar 08 23:51:05 2005 +0000
+++ b/lang/perl58/distinfo      Wed Mar 09 03:49:23 2005 +0000
@@ -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-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-ch) = 6cfd77bba102a4bca82576f061ba60c1610c4d07
 SHA1 (patch-ci) = 89bc6e67b18ca903cb3791fd598fd579bc48298b
 SHA1 (patch-cj) = 680b7161d7530825376b9d5c108fc01f15768e5e
+SHA1 (patch-ck) = 28207b8186c9ad194a1edc696159915bc16d1097
 SHA1 (patch-zc) = eb81edd1144ec46285898afc641c03a3aad54977
diff -r 161cb3b2e3b8 -r 3e202e57bdc1 lang/perl58/patches/patch-cb
--- a/lang/perl58/patches/patch-cb      Tue Mar 08 23:51:05 2005 +0000
+++ b/lang/perl58/patches/patch-cb      Wed Mar 09 03:49:23 2005 +0000
@@ -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 @@
                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 -r 161cb3b2e3b8 -r 3e202e57bdc1 lang/perl58/patches/patch-ck
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/perl58/patches/patch-ck      Wed Mar 09 03:49:23 2005 +0000
@@ -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'



Home | Main Index | Thread Index | Old Index