pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Use nawk as the default "awk" replacement sin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3dc627932bb9
branches:  trunk
changeset: 494000:3dc627932bb9
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed May 18 05:31:55 2005 +0000

description:
Use nawk as the default "awk" replacement since it has no dependencies
and is still strong enough for pkgsrc use.

diffstat:

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

diffs (27 lines):

diff -r 4ce0dd259ea9 -r 3dc627932bb9 mk/tools/replace.mk
--- a/mk/tools/replace.mk       Wed May 18 05:22:43 2005 +0000
+++ b/mk/tools/replace.mk       Wed May 18 05:31:55 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.82 2005/05/17 18:34:45 jlam Exp $
+# $NetBSD: replace.mk,v 1.83 2005/05/18 05:31:55 jlam Exp $
 #
 # This Makefile fragment handles "replacements" of system-supplied
 # tools with pkgsrc versions.
@@ -130,13 +130,13 @@
 .endif
 
 .if !defined(TOOLS_IGNORE.awk) && !empty(_USE_TOOLS:Mawk)
-.  if !empty(PKGPATH:Mlang/gawk)
+.  if !empty(PKGPATH:Mlang/nawk)
 MAKEFLAGS+=                    TOOLS_IGNORE.awk=
 .  elif !empty(_TOOLS_USE_PKGSRC.awk:M[yY][eE][sS])
-TOOLS_DEPENDS.awk?=            gawk>=3.1.1:../../lang/gawk
+TOOLS_DEPENDS.awk?=            nawk>=20040207:../../lang/nawk
 TOOLS_CREATE+=                 awk
-TOOLS_FIND_PREFIX+=            TOOLS_PREFIX.awk=gawk
-TOOLS_REAL_CMD.awk=            ${TOOLS_PREFIX.awk}/bin/${GNU_PROGRAM_PREFIX}awk
+TOOLS_FIND_PREFIX+=            TOOLS_PREFIX.awk=nawk
+TOOLS_REAL_CMD.awk=            ${TOOLS_PREFIX.awk}/bin/nawk
 TOOLS_${_TOOLS_VARNAME.awk}=   ${TOOLS_REAL_CMD.awk}
 .  endif
 .endif



Home | Main Index | Thread Index | Old Index