diff options
author | jlam <jlam@pkgsrc.org> | 2005-05-12 21:56:11 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-05-12 21:56:11 +0000 |
commit | bdde62cc40a2fbb668075674e5a8a6c64c157ab8 (patch) | |
tree | 14b8421d4b29f0d072765cd1244e8bd632c159d2 | |
parent | 1ee9760a813257fe577beddaebf936b2d44a0e2c (diff) | |
download | pkgsrc-bdde62cc40a2fbb668075674e5a8a6c64c157ab8.tar.gz |
Adding "${GREP} ." into pipeline that I inadvertently left out when
moving the EVAL_PREFIX code from bsd.pkg.mk to find-prefix.mk.
-rw-r--r-- | mk/find-prefix.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/find-prefix.mk b/mk/find-prefix.mk index 796b46573a3..6990fcfe137 100644 --- a/mk/find-prefix.mk +++ b/mk/find-prefix.mk @@ -1,4 +1,4 @@ -# $NetBSD: find-prefix.mk,v 1.1 2005/05/12 20:41:10 jlam Exp $ +# $NetBSD: find-prefix.mk,v 1.2 2005/05/12 21:56:11 jlam Exp $ # # This is a "subroutine" that can be included to find the installation # prefix of a package. @@ -16,11 +16,11 @@ # .for _def_ in ${FIND_PREFIX} -. if !defined(_${_def_:C/=.*$//}) +. if !defined(${_def_:C/=.*$//}) ${_def_:C/=.*$//}_DEFAULT?= ${LOCALBASE} _${_def_:C/=.*$//}_cmd= \ ${PKG_INFO} -qp ${_def_:C/^.*=//} 2>/dev/null | \ - ${AWK} '{ print $$2; exit }' || \ + ${AWK} '{ print $$2; exit }' | ${GREP} . || \ ${ECHO} ${${_def_:C/=.*$//}_DEFAULT:Q} ${_def_:C/=.*$//}= ${_${_def_:C/=.*$//}_cmd:sh} . endif |