pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/compiler The sunpro wrapper now creates aliases for...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0414e8598561
branches:  trunk
changeset: 493969:0414e8598561
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue May 17 19:06:21 2005 +0000

description:
The sunpro wrapper now creates aliases for gcc and g++, too. This is needed
because the <sys.mk> Makefile fragment sets CC?=gcc.

diffstat:

 mk/compiler/sunpro.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 90ee635d7af0 -r 0414e8598561 mk/compiler/sunpro.mk
--- a/mk/compiler/sunpro.mk     Tue May 17 19:01:36 2005 +0000
+++ b/mk/compiler/sunpro.mk     Tue May 17 19:06:21 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sunpro.mk,v 1.31 2005/01/12 18:37:52 jlam Exp $
+# $NetBSD: sunpro.mk,v 1.32 2005/05/17 19:06:21 rillig Exp $
 
 .if !defined(COMPILER_SUNPRO_MK)
 COMPILER_SUNPRO_MK=    defined
@@ -18,7 +18,7 @@
 LANGUAGES.sunpro+=     c
 _SUNPRO_VARS+=         CC
 _SUNPRO_CC=            ${_SUNPRO_DIR}/bin/cc
-_ALIASES.CC=           cc
+_ALIASES.CC=           cc gcc
 CCPATH=                        ${SUNWSPROBASE}/bin/cc
 PKG_CC:=               ${_SUNPRO_CC}
 .endif
@@ -26,7 +26,7 @@
 LANGUAGES.sunpro+=     c++
 _SUNPRO_VARS+=         CXX
 _SUNPRO_CXX=           ${_SUNPRO_DIR}/bin/CC
-_ALIASES.CXX=          CC c++
+_ALIASES.CXX=          CC c++ g++
 CXXPATH=               ${SUNWSPROBASE}/bin/CC
 PKG_CXX:=              ${_SUNPRO_CXX}
 .endif



Home | Main Index | Thread Index | Old Index