pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl5 Improve AIX support to the point that dynam...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95cfa949d7f3
branches:  trunk
changeset: 551808:95cfa949d7f3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Dec 20 13:08:00 2008 +0000

description:
Improve AIX support to the point that dynamic modules work. Bump
revision. In collaboration with Jens Rehsack.

diffstat:

 lang/perl5/Makefile         |  12 +++++++++---
 lang/perl5/distinfo         |   3 ++-
 lang/perl5/module.mk        |   9 +--------
 lang/perl5/patches/patch-at |  12 ++++++++++++
 4 files changed, 24 insertions(+), 12 deletions(-)

diffs (100 lines):

diff -r f8eee8af96a9 -r 95cfa949d7f3 lang/perl5/Makefile
--- a/lang/perl5/Makefile       Sat Dec 20 11:57:29 2008 +0000
+++ b/lang/perl5/Makefile       Sat Dec 20 13:08:00 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.144 2008/12/08 13:34:46 tron Exp $
+# $NetBSD: Makefile,v 1.145 2008/12/20 13:08:00 joerg Exp $
 
 DISTNAME=      perl-5.10.0
 CATEGORIES=    lang devel perl5
-PKGREVISION=   3
+PKGREVISION=   4
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/,}
 DISTFILES+=    ${DISTNAME}${EXTRACT_SUFX}
 
@@ -170,6 +170,7 @@
 LIBSWANTED.NetBSD=     m crypt
 LIBSWANTED.OpenBSD=    m crypt
 LIBSWANTED.SunOS=      m crypt dl socket nsl
+LIBSWANTED.AIX=                m crypt dl socket nsl bind c
 LIBSWANTED=            ${LIBSWANTED.${OPSYS}}
 
 # Nail down the directories in which the system libraries may be found.
@@ -183,6 +184,7 @@
 SYSLIBPATH.NetBSD=     /usr/lib
 SYSLIBPATH.OpenBSD=    /usr/lib
 SYSLIBPATH.SunOS=      /usr/lib
+SYSLIBPATH.AIX=                /usr/lib
 SYSLIBPATH=            ${SYSLIBPATH.${OPSYS}}
 
 # Nail down the directories in which headers and libraries of
@@ -197,8 +199,12 @@
 #
 .if ${OBJECT_FMT} == "a.out"
 LOCLIBRPATHFLAGS=      ${LOCLIBPATH:S/^/${LINKER_RPATH_FLAG} /g}
-.elif ${OBJECT_FMT} == "ELF" || ${OBJECT_FMT} == "XCOFF"
+.elif ${OBJECT_FMT} == "ELF"
 LOCLIBRPATHFLAGS=      ${LOCLIBPATH:S/^/${COMPILER_RPATH_FLAG}/g}
+.elif ${OBJECT_FMT} == "XCOFF"
+LOCLIBRPATHFLAGS=      ${LOCLIBPATH:S/^/${COMPILER_RPATH_FLAG}/g} \
+       ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib/perl5/${PKGVERSION_NOREV}/${MACHINE_ARCH}-${LOWER_OPSYS}${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi-64all/CORE \
+       ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib/perl5/${PKGVERSION_NOREV}/${MACHINE_ARCH}-${LOWER_OPSYS}${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi-all/CORE
 .else
 LOCLIBRPATHFLAGS=      # empty
 .endif
diff -r f8eee8af96a9 -r 95cfa949d7f3 lang/perl5/distinfo
--- a/lang/perl5/distinfo       Sat Dec 20 11:57:29 2008 +0000
+++ b/lang/perl5/distinfo       Sat Dec 20 13:08:00 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.54 2008/12/08 13:34:47 tron Exp $
+$NetBSD: distinfo,v 1.55 2008/12/20 13:08:00 joerg Exp $
 
 SHA1 (perl-5.10.0.tar.gz) = adf73606dd5248af7ccdd735bcaa0e628ea75b3c
 RMD160 (perl-5.10.0.tar.gz) = c6614fc99a162790a703f91085b24a60af903ba2
@@ -8,6 +8,7 @@
 SHA1 (patch-ah) = 1d2f4049dcc8dafcd0eafad36a74531dc7f305c9
 SHA1 (patch-aq) = 3ece22678e3e6dcd3cf641e6389ff203cbe351b9
 SHA1 (patch-as) = 8656cb4d9baf43dd92f4c467aaa40802d4c43239
+SHA1 (patch-at) = e774c6fed9f2a35c5f455bb14963e0e4a5c3491b
 SHA1 (patch-ba) = dc150656628e83e25c99f246a0fb30906d185184
 SHA1 (patch-ca) = 47db0530a705b8086b2bfc58491f9b56de4b9e12
 SHA1 (patch-ch) = 5b6a89c82e158bab0a5f06add48c28e600678099
diff -r f8eee8af96a9 -r 95cfa949d7f3 lang/perl5/module.mk
--- a/lang/perl5/module.mk      Sat Dec 20 11:57:29 2008 +0000
+++ b/lang/perl5/module.mk      Sat Dec 20 13:08:00 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.56 2007/11/18 21:44:56 minskim Exp $
+# $NetBSD: module.mk,v 1.57 2008/12/20 13:08:00 joerg Exp $
 #
 # This Makefile fragment is intended to be included by packages that build
 # and install perl5 modules.
@@ -46,13 +46,6 @@
 
 .include "../../mk/compiler.mk"
 
-# see http://mail-index.netbsd.org/tech-pkg/2007/04/20/0004.html
-.if ${OPSYS} == "AIX"
-.  if !empty(CC_VERSION:Mgcc*)
-BROKEN=                Perl does not like building with GCC on AIX, please use a different compiler
-.  endif
-.endif
-
 .if ${PERL5_MODULE_TYPE} == "Module::Build"
 _PERL5_MODTYPE=                modbuild
 .  if ${_USE_DESTDIR} != "no"
diff -r f8eee8af96a9 -r 95cfa949d7f3 lang/perl5/patches/patch-at
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/perl5/patches/patch-at       Sat Dec 20 13:08:00 2008 +0000
@@ -0,0 +1,12 @@
+--- makedef.pl.orig    2008-11-14 11:28:39.000000000 +0100
++++ makedef.pl 2008-11-14 11:30:05.000000000 +0100
+@@ -404,6 +404,9 @@
+                    PL_statusvalue_vms
+                    PL_sys_intern
+                    )]);
++    emit_symbols([qw(
++                   boot_DynaLoader
++                   )]);
+ }
+ elsif ($PLATFORM eq 'os2') {
+     emit_symbols([qw(



Home | Main Index | Thread Index | Old Index