summaryrefslogtreecommitdiff
path: root/mk/compiler/gcc.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-01 07:54:33 +0000
committerjlam <jlam@pkgsrc.org>2004-02-01 07:54:33 +0000
commitfed59fb254fdab74a23e5bfa927984eb29548645 (patch)
tree3cfd7d644e5cdbcf4040917b008fa131107a8c1b /mk/compiler/gcc.mk
parent0463667fa326eddcac907722cf8073f8fe12af21 (diff)
downloadpkgsrc-fed59fb254fdab74a23e5bfa927984eb29548645.tar.gz
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 (limited to 'mk/compiler/gcc.mk')
-rw-r--r--mk/compiler/gcc.mk10
1 files changed, 3 insertions, 7 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index a8cc2777755..a3549644e01 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -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 @@ _GCC_VERSION!= ${CC} -dumpversion
. 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"; \