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/Makefile | |
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/Makefile')
-rw-r--r-- | lang/perl5/Makefile | 12 |
1 files changed, 9 insertions, 3 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 |