pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk The values of CC are CC_VERSION are redundant. Jus...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d33891e44735
branches: trunk
changeset: 468152:d33891e44735
user: jlam <jlam%pkgsrc.org@localhost>
date: Tue Feb 10 22:33:47 2004 +0000
description:
The values of CC are CC_VERSION are redundant. Just use CC_VERSION. We
record it only if the package actually used the compiler.
diffstat:
mk/bsd.pkg.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r c8e962bfb677 -r d33891e44735 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Tue Feb 10 22:23:40 2004 +0000
+++ b/mk/bsd.pkg.mk Tue Feb 10 22:33:47 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1384 2004/02/10 02:18:04 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1385 2004/02/10 22:33:47 jlam Exp $
#
# This file is in the public domain.
#
@@ -4699,8 +4699,9 @@
. for def in ${BUILD_DEFS}
@${ECHO} ${def}=${${def}:Q} | ${SED} -e 's|^PATH=[^ ]*|PATH=...|' >> ${BUILD_INFO_FILE}
. endfor
- @${ECHO} "CC=${CC}" >> ${BUILD_INFO_FILE}
+. if !empty(USE_LANGUAGES)
@${ECHO} "CC_VERSION=${CC_VERSION}" >> ${BUILD_INFO_FILE}
+. endif
. if defined(USE_PERL5) && (${USE_PERL5} == "run")
@${ECHO} "PERL=`${PERL5} --version 2>/dev/null | ${GREP} 'This is perl'`" >> ${BUILD_INFO_FILE}
. endif
Home |
Main Index |
Thread Index |
Old Index