diff options
author | joerg <joerg@pkgsrc.org> | 2008-12-20 13:08:00 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-12-20 13:08:00 +0000 |
commit | 35471bc4bb4b21a4dbdc2edd119253ce60088172 (patch) | |
tree | 00b27db4c05e4315a2858f8b5434d0a90c0249cd /lang/perl5 | |
parent | 0684bfe706fec93c0d700e777ab03440ec1b7dbe (diff) | |
download | pkgsrc-35471bc4bb4b21a4dbdc2edd119253ce60088172.tar.gz |
Improve AIX support to the point that dynamic modules work. Bump
revision. In collaboration with Jens Rehsack.
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/Makefile | 12 | ||||
-rw-r--r-- | lang/perl5/distinfo | 3 | ||||
-rw-r--r-- | lang/perl5/module.mk | 9 | ||||
-rw-r--r-- | lang/perl5/patches/patch-at | 12 |
4 files changed, 24 insertions, 12 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index 48f2526e03c..0e7abe8df89 100644 --- a/lang/perl5/Makefile +++ b/lang/perl5/Makefile @@ -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.Linux= m crypt dl nsl 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.Interix= /usr/lib 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 @@ LOCINCPATH= ${LOCALBASE}/include # .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 --git a/lang/perl5/distinfo b/lang/perl5/distinfo index 5ecf953b11d..46bcd91e7a0 100644 --- a/lang/perl5/distinfo +++ b/lang/perl5/distinfo @@ -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-ab) = e32427327192f023477b16f29bc55fdf4f057410 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 --git a/lang/perl5/module.mk b/lang/perl5/module.mk index 5c93d1f6c73..6bbc54c0b9b 100644 --- a/lang/perl5/module.mk +++ b/lang/perl5/module.mk @@ -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 @@ TEST_TARGET?= test .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 --git a/lang/perl5/patches/patch-at b/lang/perl5/patches/patch-at new file mode 100644 index 00000000000..fd8280713a5 --- /dev/null +++ b/lang/perl5/patches/patch-at @@ -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( |