From ecaca3ebce7e1535e80cacc16847cd6fd02939cf Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 13 Sep 2003 08:22:07 +0000 Subject: 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. --- lang/perl5/buildlink2.mk | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'lang') diff --git a/lang/perl5/buildlink2.mk b/lang/perl5/buildlink2.mk index 16c38abd3ec..c724be3642e 100644 --- a/lang/perl5/buildlink2.mk +++ b/lang/perl5/buildlink2.mk @@ -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 @@ EVAL_PREFIX+= BUILDLINK_PREFIX.perl=perl 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 -- cgit v1.2.3