diff options
author | hubertf <hubertf> | 2001-02-19 18:30:36 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2001-02-19 18:30:36 +0000 |
commit | 86715b2e40fb86e2fc1f90880cf22232d12c4e62 (patch) | |
tree | a7ba46ecc6c4db469cfbfa5f985f53c616782abb /mk | |
parent | df0ee4e3d7c94e77f61c25ec821bba17e653661f (diff) | |
download | pkgsrc-86715b2e40fb86e2fc1f90880cf22232d12c4e62.tar.gz |
Evaluate PERL5_SITELIB, PERL5_SITEARCH and PERL5_ARCHLIB only if
USE_PERL5 is actually set. Some speedup...
Diffstat (limited to '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) |