summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2000-09-06 03:58:23 +0000
committerjlam <jlam>2000-09-06 03:58:23 +0000
commit1237386668192397591b67fa1782b0c6d478d76d (patch)
tree781ca689c4a64b023134284b04df17150c2961a8 /mk
parentc5b776b917f446e743ca90ccd2fd9bb2e2333798 (diff)
downloadpkgsrc-1237386668192397591b67fa1782b0c6d478d76d.tar.gz
Move PERL5_* variable definitions out of USE_PERL5 .if.endif block;
they're already protected by .if exists(${PERL5}).
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index f089231ad00..243c3232588 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.562 2000/09/05 19:13:40 veego Exp $
+# $NetBSD: bsd.pkg.mk,v 1.563 2000/09/06 03:58:23 jlam Exp $
#
# This file is in the public domain.
#
@@ -137,6 +137,7 @@ 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`; \
@@ -150,7 +151,6 @@ MAKEFLAGS+= PERL5_SITEARCH=${PERL5_SITEARCH}
MAKEFLAGS+= PERL5_ARCHLIB=${PERL5_ARCHLIB}
.endif
.endif
-.endif
.if defined(USE_FORTRAN)
.if !exists(/usr/bin/f77)