pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/compiler Use ${AWK} instead of a bare "awk".



details:   https://anonhg.NetBSD.org/pkgsrc/rev/463003dcdbd8
branches:  trunk
changeset: 487323:463003dcdbd8
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Jan 12 18:42:42 2005 +0000

description:
Use ${AWK} instead of a bare "awk".

diffstat:

 mk/compiler/ccc.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 312130c38436 -r 463003dcdbd8 mk/compiler/ccc.mk
--- a/mk/compiler/ccc.mk        Wed Jan 12 18:37:52 2005 +0000
+++ b/mk/compiler/ccc.mk        Wed Jan 12 18:42:42 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ccc.mk,v 1.12 2005/01/12 18:37:52 jlam Exp $
+# $NetBSD: ccc.mk,v 1.13 2005/01/12 18:42:42 jlam Exp $
 
 .if !defined(COMPILER_CCC_MK)
 COMPILER_CCC_MK=       defined
@@ -31,8 +31,8 @@
 _COMPILER_STRIP_VARS+= ${_CCC_VARS}
 
 .if exists(${CCPATH}) && !defined(CC_VERSION_STRING)
-CC_VERSION_STRING!=    ${CCPATH} -V 2>&1 | awk '{print; exit(0);}'
-CC_VERSION!=           ${CCPATH} -V 2>&1 | awk '{print "CCC-"$3; exit(0);}'
+CC_VERSION_STRING!=    ${CCPATH} -V 2>&1 | ${AWK} '{print; exit(0);}'
+CC_VERSION!=           ${CCPATH} -V 2>&1 | ${AWK} '{print "CCC-"$3; exit(0);}'
 .else
 CC_VERSION_STRING?=    ${CC_VERSION}
 CC_VERSION?=           CCC



Home | Main Index | Thread Index | Old Index