pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl58 Perl's ARCHNAME for Darwin changed with Da...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a6ac21aa3a0a
branches:  trunk
changeset: 470134:a6ac21aa3a0a
user:      danw <danw%pkgsrc.org@localhost>
date:      Sun Mar 07 01:02:59 2004 +0000

description:
Perl's ARCHNAME for Darwin changed with Darwin 7 / OS X 10.3.
Fixes pkg/24531.

diffstat:

 lang/perl58/Makefile |  13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r bbc987bce7c1 -r a6ac21aa3a0a lang/perl58/Makefile
--- a/lang/perl58/Makefile      Sun Mar 07 00:57:36 2004 +0000
+++ b/lang/perl58/Makefile      Sun Mar 07 01:02:59 2004 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index