pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/tools Fix a copy-and-paste bug that probably caused...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/def84be62b82
branches:  trunk
changeset: 503744:def84be62b82
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Nov 28 05:39:20 2005 +0000

description:
Fix a copy-and-paste bug that probably caused some tools to not be
created on platforms lacking "coreutils", "grep", or "diffutils".

diffstat:

 mk/tools/replace.mk |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r f2389c272ed2 -r def84be62b82 mk/tools/replace.mk
--- a/mk/tools/replace.mk       Mon Nov 28 01:50:21 2005 +0000
+++ b/mk/tools/replace.mk       Mon Nov 28 05:39:20 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.135 2005/11/08 23:06:38 jlam Exp $
+# $NetBSD: replace.mk,v 1.136 2005/11/28 05:39:20 jlam Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -780,7 +780,7 @@
 .  if !defined(TOOLS_IGNORE.${_t_}) && !empty(_USE_TOOLS:M${_t_})
 .    if !empty(PKGPATH:Msysutils/coreutils)
 MAKEFLAGS+=            TOOLS_IGNORE.${_t_}=
-.    elif !empty(_TOOLS_USE_PKGSRC.[:M[yY][eE][sS])
+.    elif !empty(_TOOLS_USE_PKGSRC.${_t_}:M[yY][eE][sS])
 TOOLS_DEPENDS.${_t_}?= coreutils>=5.2.1:../../sysutils/coreutils
 TOOLS_CREATE+=         ${_t_}
 TOOLS_FIND_PREFIX+=    TOOLS_PREFIX.${_t_}=coreutils
@@ -814,7 +814,7 @@
 .  if !defined(TOOLS_IGNORE.${_t_}) && !empty(_USE_TOOLS:M${_t_})
 .    if !empty(PKGPATH:Mtextproc/grep)
 MAKEFLAGS+=            TOOLS_IGNORE.${_t_}=
-.    elif !empty(_TOOLS_USE_PKGSRC.[:M[yY][eE][sS])
+.    elif !empty(_TOOLS_USE_PKGSRC.${_t_}:M[yY][eE][sS])
 TOOLS_DEPENDS.${_t_}?= grep>=2.5.1:../../textproc/grep
 TOOLS_CREATE+=         ${_t_}
 TOOLS_FIND_PREFIX+=    TOOLS_PREFIX.${_t_}=grep
@@ -834,7 +834,7 @@
 .  if !defined(TOOLS_IGNORE.${_t_}) && !empty(_USE_TOOLS:M${_t_})
 .    if !empty(PKGPATH:Mdevel/diffutils)
 MAKEFLAGS+=            TOOLS_IGNORE.${_t_}=
-.    elif !empty(_TOOLS_USE_PKGSRC.[:M[yY][eE][sS])
+.    elif !empty(_TOOLS_USE_PKGSRC.${_t_}:M[yY][eE][sS])
 TOOLS_DEPENDS.${_t_}?= diffutils>=2.8.1:../../devel/diffutils
 TOOLS_CREATE+=         ${_t_}
 TOOLS_FIND_PREFIX+=    TOOLS_PREFIX.${_t_}=diffutils



Home | Main Index | Thread Index | Old Index