diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-10 22:33:47 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-10 22:33:47 +0000 |
commit | 322907088cc26553e28e6fb3e63a99c9ff225c0e (patch) | |
tree | 2d16b03388a2b292a2072b0a8e245ad23aa6f713 | |
parent | aed6de5e1fe5336119d80ac0b55ccb0ffe85fb97 (diff) | |
download | pkgsrc-322907088cc26553e28e6fb3e63a99c9ff225c0e.tar.gz |
The values of CC are CC_VERSION are redundant. Just use CC_VERSION. We
record it only if the package actually used the compiler.
-rw-r--r-- | mk/bsd.pkg.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index a37de88ce52..f6aed56fe75 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -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 @@ fake-pkg: ${PLIST} ${DESCR} ${MESSAGE} . 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 |