pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/compiler Actually, it does matter what _GCC_PKG is ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0d900d70ce80
branches:  trunk
changeset: 467466:0d900d70ce80
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Feb 01 07:54:33 2004 +0000

description:
Actually, it does matter what _GCC_PKG is set to as it's re-used later as
the value of CC_VERSION for the builtin compiler.

diffstat:

 mk/compiler/gcc.mk |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (24 lines):

diff -r 991339ccd0ef -r 0d900d70ce80 mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk        Sun Feb 01 02:23:24 2004 +0000
+++ b/mk/compiler/gcc.mk        Sun Feb 01 07:54:33 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.3 2004/02/01 01:23:37 jlam Exp $
+# $NetBSD: gcc.mk,v 1.4 2004/02/01 07:54:33 jlam Exp $
 
 .if !defined(COMPILER_GCC_MK)
 COMPILER_GCC_MK=       defined
@@ -111,12 +111,8 @@
 .    else
 _GCC_VERSION=  0
 .    endif
-#
-# Note that the actual package name isn't really important here as we're
-# just trying to do comparisons of version numbers.
-#
-_GCC_TEST_DEPENDS=     cc>=${GCC_REQD}
-_GCC_PKG=              cc-${_GCC_VERSION}
+_GCC_TEST_DEPENDS=     gcc>=${GCC_REQD}
+_GCC_PKG=              gcc-${_GCC_VERSION}
 _USE_PKGSRC_GCC!=      \
        if ${PKG_ADMIN} pmatch '${_GCC_TEST_DEPENDS}' ${_GCC_PKG}; then \
                ${ECHO} "NO";                                           \



Home | Main Index | Thread Index | Old Index