pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/compiler Define _GCC_PKG unconditionally since its ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/031cef49f627
branches:  trunk
changeset: 467614:031cef49f627
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Feb 04 00:27:24 2004 +0000

description:
Define _GCC_PKG unconditionally since its value is determined by another
global variable, and so that we can reuse it in other places in gcc.mk.

diffstat:

 mk/compiler/gcc.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 69662e03d847 -r 031cef49f627 mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk        Wed Feb 04 00:11:07 2004 +0000
+++ b/mk/compiler/gcc.mk        Wed Feb 04 00:27:24 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.25 2004/02/04 00:11:07 jlam Exp $
+# $NetBSD: gcc.mk,v 1.26 2004/02/04 00:27:24 jlam Exp $
 
 .if !defined(COMPILER_GCC_MK)
 COMPILER_GCC_MK=       defined
@@ -37,6 +37,7 @@
 _GCC_VERSION=  0
 .  endif
 .endif
+_GCC_PKG=      gcc-${_GCC_VERSION}
 
 .if !empty(_CC:M${LOCALBASE}/*)
 _IS_BUILTIN_GCC=       NO
@@ -169,7 +170,6 @@
 _USE_PKGSRC_GCC=       YES
 .  else
 _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