diff options
author | grant <grant@pkgsrc.org> | 2005-02-20 06:02:06 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2005-02-20 06:02:06 +0000 |
commit | 384e38172bb9a8488cdecc587771cd4506196f90 (patch) | |
tree | b71b77180828ee596cd16332afff605d5044dc2f /mk | |
parent | c6169cc95b1472965fdafaee3e936463c3447f69 (diff) | |
download | pkgsrc-384e38172bb9a8488cdecc587771cd4506196f90.tar.gz |
fix bug introduced in 1.1569: use ${GREP} instead of 'grep' and not
all grep(1)s support grepping for empty string. `${GREP} .' instead.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 48829744504..6cffbed4f7f 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1591 2005/02/19 04:25:31 grant Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1592 2005/02/20 06:02:06 grant Exp $ # # This file is in the public domain. # @@ -935,7 +935,7 @@ DEPENDS:= ${REDUCED_DEPENDS} . for def in ${EVAL_PREFIX} . if !defined(${def:C/=.*$//}) ${def:C/=.*$//}_DEFAULT?=${LOCALBASE} -_${def:C/=.*$//}_CMD= ${PKG_INFO} -qp ${def:C/^.*=//} 2>/dev/null | ${AWK} '{ print $$2; exit }' | grep '' || ${ECHO} ${${def:C/=.*$//}_DEFAULT} +_${def:C/=.*$//}_CMD= ${PKG_INFO} -qp ${def:C/^.*=//} 2>/dev/null | ${AWK} '{ print $$2; exit }' | ${GREP} . || ${ECHO} ${${def:C/=.*$//}_DEFAULT} ${def:C/=.*$//}= ${_${def:C/=.*$//}_CMD:sh} MAKEFLAGS+= ${def:C/=.*//}=${_${def:C/=.*$//}_CMD:sh} . endif |