summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-08-28 22:52:08 +0000
committerjlam <jlam@pkgsrc.org>2000-08-28 22:52:08 +0000
commit7ce7201a10511d290b7ae9386f39b1d106a6cee8 (patch)
tree2fe59a53dd7a78f009c6252d8cde4637d0363ef4
parent43d469a0a9cb49c81080da7a099be8c4bfa49cb4 (diff)
downloadpkgsrc-7ce7201a10511d290b7ae9386f39b1d106a6cee8.tar.gz
Don't output any errors if perl isn't available when doing a "make clean"
in a package which has USE_PERL5.
-rw-r--r--mk/bsd.pkg.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 99d5418f38e..4da3299e78d 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.553 2000/08/28 22:43:07 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.554 2000/08/28 22:52:08 jlam Exp $
#
# This file is in the public domain.
#
@@ -136,9 +136,9 @@ BUILD_DEFS+= KERBEROS
PERL5?= ${LOCALBASE}/bin/perl
.if defined(USE_PERL5)
DEPENDS+= perl-5.*:../../lang/perl5
-PERL5_SITELIB!= eval `${PERL5} -V:installsitelib`; echo $${installsitelib}
-PERL5_SITEARCH!= eval `${PERL5} -V:installsitearch`; echo $${installsitearch}
-PERL5_ARCHLIB!= eval `${PERL5} -V:installarchlib`; echo $${installarchlib}
+PERL5_SITELIB!= eval `${PERL5} -V:installsitelib 2>/dev/null`; echo $${installsitelib}
+PERL5_SITEARCH!= eval `${PERL5} -V:installsitearch 2>/dev/null`; echo $${installsitearch}
+PERL5_ARCHLIB!= eval `${PERL5} -V:installarchlib 2>/dev/null`; echo $${installarchlib}
.endif
.if defined(USE_FORTRAN)