diff options
author | danw <danw@pkgsrc.org> | 2004-03-07 01:02:59 +0000 |
---|---|---|
committer | danw <danw@pkgsrc.org> | 2004-03-07 01:02:59 +0000 |
commit | f1497a8f3a878c09786a33bd2dd9b3cfe94f4bb3 (patch) | |
tree | 9cab1d262fcbaca254b68bd00c5ceceb302e91fa /lang/perl58 | |
parent | 8760d7bb1f7b0299bf7ed955394dfd0ebdc15095 (diff) | |
download | pkgsrc-f1497a8f3a878c09786a33bd2dd9b3cfe94f4bb3.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 |