summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2000-08-12 06:43:21 +0000
committerjlam <jlam>2000-08-12 06:43:21 +0000
commitc7250d1b228cd2ba5defd96ea7c683705f70efaa (patch)
tree9a10ef1a3c1c803376c258f79b7c92ced4cdb4b8
parent3e8c2b6addd614613bcb94a5f203558d337e82c3 (diff)
downloadpkgsrc-c7250d1b228cd2ba5defd96ea7c683705f70efaa.tar.gz
'perl --version | grep "version"' won't work with perl-5.6.0. Change to
'perl --version | grep "This is perl"'.
-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 94a99e55ce8..0d12845a101 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.537 2000/08/07 10:23:38 fredb Exp $
+# $NetBSD: bsd.pkg.mk,v 1.538 2000/08/12 06:43:21 jlam Exp $
#
# This file is in the public domain.
#
@@ -2963,7 +2963,7 @@ fake-pkg: ${PLIST} ${DESCR}
.endfor
@${ECHO} "CC= ${CC}-`${CC} --version`" >> ${BUILD_INFO_FILE}
.ifdef USE_PERL5
- @${ECHO} "PERL= `${LOCALBASE}/bin/perl --version | ${GREP} version`" >> ${BUILD_INFO_FILE}
+ @${ECHO} "PERL= `${LOCALBASE}/bin/perl --version | ${GREP} 'This is perl'`" >> ${BUILD_INFO_FILE}
.endif
.ifdef USE_GMAKE
@${ECHO} "GMAKE= `${GMAKE} --version | ${GREP} version`" >> ${BUILD_INFO_FILE}