summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2005-04-26 22:20:42 +0000
committerjlam <jlam>2005-04-26 22:20:42 +0000
commit49a522d75ce553d05fbaefac914c01c611925f1b (patch)
treedf8cea91c002324068099d3b3a89be2ea827fbbc /mk
parent4ef9c13954f63c969ba6839729cc0b0cf846a34c (diff)
downloadpkgsrc-49a522d75ce553d05fbaefac914c01c611925f1b.tar.gz
If we're using one of the package's utilities, we're going to be using
them all, so make sure _TOOLS_USE_PKGSRC.* is set to "yes".
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/replace.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk
index 1cc26d66c8f..a30274b166f 100644
--- a/mk/tools/replace.mk
+++ b/mk/tools/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.25 2005/04/26 22:18:14 jlam Exp $
+# $NetBSD: replace.mk,v 1.26 2005/04/26 22:20:42 jlam Exp $
#
# This Makefile fragment handles "replacements" of system-supplied
# tools with pkgsrc versions. The replacements are placed under
@@ -185,6 +185,7 @@ USE_TOOLS+= ${_t_}
!empty(_TOOLS_USE_PKGSRC.grep:M[yY][eE][sS])
${TOOLS_DEPENDS.grep}+= grep>=2.5.1:../../textproc/grep
. for _t_ in ${_TOOLS_GREPUTILS}
+_TOOLS_USE_PKGSRC.${_t_}= yes
TOOLS_SYMLINK+= ${_t_}
TOOLS_REAL_CMD.${_t_}= ${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}${_t_}
. if exists(${TOOLS_REAL_CMD.${_t_}})
@@ -284,6 +285,7 @@ USE_TOOLS+= ${_t_}
!empty(_TOOLS_USE_PKGSRC.gzip:M[yY][eE][sS])
${TOOLS_DEPENDS.gzip}+= gzip-base>=1.2.4b:../../archivers/gzip-base
. for _t_ in ${_TOOLS_GZIPUTILS}
+_TOOLS_USE_PKGSRC.${_t_}= yes
TOOLS_SYMLINK+= ${_t_}
TOOLS_REAL_CMD.${_t_}= ${LOCALBASE}/bin/${_t_}
. if exists(${TOOLS_REAL_CMD.${_t_}})