pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/perl5 Catch up with changes in how PERL5_ARCHLIB ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b9de60a5e8cc
branches: trunk
changeset: 461256:b9de60a5e8cc
user: jlam <jlam%pkgsrc.org@localhost>
date: Sat Sep 13 08:22:07 2003 +0000
description:
Catch up with changes in how PERL5_ARCHLIB is computed in bsd.pkg.mk.
bsd.pkg.mk automatically converts PERL5_ARCHLIB to be prefixed by
${LOCALBASE} if this is an overwrite package, so simply strip that away to
get the relative directory.
diffstat:
lang/perl5/buildlink2.mk | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)
diffs (28 lines):
diff -r e6fb9e39fc09 -r b9de60a5e8cc lang/perl5/buildlink2.mk
--- a/lang/perl5/buildlink2.mk Sat Sep 13 08:20:08 2003 +0000
+++ b/lang/perl5/buildlink2.mk Sat Sep 13 08:22:07 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.5 2003/09/12 23:10:03 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.6 2003/09/13 08:22:07 jlam Exp $
.if !defined(PERL5_BUILDLINK2_MK)
PERL5_BUILDLINK2_MK= # defined
@@ -20,16 +20,9 @@
BUILDLINK_PREFIX.perl_DEFAULT= ${LOCALBASE}
PERL5?= ${BUILDLINK_PREFIX.perl}/bin/perl
-.if !defined(_PERL5_PREFIX)
-. if exists(${PERL5})
-_PERL5_PREFIX!= eval `${PERL5} -V:prefix 2>/dev/null`; ${ECHO} $${prefix}
-MAKE_FLAGS+= _PERL5_PREFIX="${_PERL5_PREFIX}"
-. endif
-.endif
-
BUILDLINK_FILES.perl= \
- ${PERL5_ARCHLIB:S/^${_PERL5_PREFIX}\///}/CORE/* \
- ${PERL5_ARCHLIB:S/^${_PERL5_PREFIX}\///}/auto/DynaLoader/DynaLoader.a
+ ${PERL5_ARCHLIB:S/^${BUILDLINK_PREFIX.perl}\///}/CORE/* \
+ ${PERL5_ARCHLIB:S/^${BUILDLINK_PREFIX.perl}\///}/auto/DynaLoader/DynaLoader.a
BUILDLINK_TARGETS+= perl-buildlink
Home |
Main Index |
Thread Index |
Old Index