diff options
author | danw <danw> | 2004-03-07 01:02:59 +0000 |
---|---|---|
committer | danw <danw> | 2004-03-07 01:02:59 +0000 |
commit | 5e568c1f8674f8d5041fd977d3101fa720d1af41 (patch) | |
tree | 9cab1d262fcbaca254b68bd00c5ceceb302e91fa /lang/perl58 | |
parent | 9d7e22fa40a8d3257813f0fb3641649d5b5760e4 (diff) | |
download | pkgsrc-5e568c1f8674f8d5041fd977d3101fa720d1af41.tar.gz |
Perl's ARCHNAME for Darwin changed with Darwin 7 / OS X 10.3.
Fixes pkg/24531.
Diffstat (limited to 'lang/perl58')
-rw-r--r-- | lang/perl58/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lang/perl58/Makefile b/lang/perl58/Makefile index 7467d95e2fa..9e9a4f8fe9d 100644 --- a/lang/perl58/Makefile +++ b/lang/perl58/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2004/02/18 13:33:41 jlam Exp $ +# $NetBSD: Makefile,v 1.38 2004/03/07 01:02:59 danw Exp $ # The following two variables should have empty values unless we're # building a perl snapshot or release candidate. @@ -109,10 +109,15 @@ MKPIC= yes STATIC_PERL= no # # "installarchlib" and "installsitearch" have different forms between -# Darwin and NetBSD. +# Darwin and NetBSD (and between older and newer versions of Darwin) # -PERL5_ARCHLIB= ${PREFIX}/lib/perl5/${PERL5_VERS}/${LOWER_OPSYS} -PERL5_SITEARCH= ${PREFIX}/lib/perl5/site_perl/${PERL5_VERS}/${LOWER_OPSYS} +.if ${OS_VERSION:R} >= 7 +PERL5_ARCHLIB= ${PREFIX}/lib/perl5/${PERL5_VERS}/darwin-2level +PERL5_SITEARCH= ${PREFIX}/lib/perl5/site_perl/${PERL5_VERS}/darwin-2level +.else +PERL5_ARCHLIB= ${PREFIX}/lib/perl5/${PERL5_VERS}/darwin +PERL5_SITEARCH= ${PREFIX}/lib/perl5/site_perl/${PERL5_VERS}/darwin +.endif .endif # Nail down the needed libraries for each platform here to avoid hidden |