diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-02-19 18:30:36 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-02-19 18:30:36 +0000 |
commit | 2670c125b772400ef03c4409d6495e978901a624 (patch) | |
tree | a7ba46ecc6c4db469cfbfa5f985f53c616782abb /mk/bsd.pkg.mk | |
parent | 2ab07914739d96b39c662d28a8d781e701e51385 (diff) | |
download | pkgsrc-2670c125b772400ef03c4409d6495e978901a624.tar.gz |
Evaluate PERL5_SITELIB, PERL5_SITEARCH and PERL5_ARCHLIB only if
USE_PERL5 is actually set. Some speedup...
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index ee694a866de..c34b2a7a7c5 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.666 2001/02/19 10:50:45 wiz Exp $ +# $NetBSD: bsd.pkg.mk,v 1.667 2001/02/19 18:30:36 hubertf Exp $ # # This file is in the public domain. # @@ -156,7 +156,6 @@ BUILD_DEFS+= KERBEROS PERL5?= ${LOCALBASE}/bin/perl .if defined(USE_PERL5) DEPENDS+= perl-5.*:../../lang/perl5 -.endif .if exists(${PERL5}) .if !defined(PERL5_SITELIB) || !defined(PERL5_SITEARCH) || !defined(PERL5_ARCHLIB) PERL5_SITELIB!= eval `${PERL5} -V:installsitelib 2>/dev/null`; \ @@ -168,8 +167,9 @@ PERL5_ARCHLIB!= eval `${PERL5} -V:installarchlib 2>/dev/null`; \ MAKEFLAGS+= PERL5_SITELIB=${PERL5_SITELIB} MAKEFLAGS+= PERL5_SITEARCH=${PERL5_SITEARCH} MAKEFLAGS+= PERL5_ARCHLIB=${PERL5_ARCHLIB} -.endif -.endif +.endif # !defined(PERL5_*) +.endif # exists($PERL5) +.endif # USE_PERL5 .if defined(USE_FORTRAN) .if !exists(/usr/bin/f77) |