diff options
author | jlam <jlam> | 2005-01-12 17:30:34 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-01-12 17:30:34 +0000 |
commit | 4232e79a598bea49c61e63e186533aa6badd439c (patch) | |
tree | 6bc6861bfa2e576f1b884c8a93a1adeac00a7a22 /mk/compiler/mipspro.mk | |
parent | 4cdefc6ab076b624fb8535f6eef0ea628de281c9 (diff) | |
download | pkgsrc-4232e79a598bea49c61e63e186533aa6badd439c.tar.gz |
Backout part of previous commit that was unrelated.
Diffstat (limited to 'mk/compiler/mipspro.mk')
-rw-r--r-- | mk/compiler/mipspro.mk | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/mk/compiler/mipspro.mk b/mk/compiler/mipspro.mk index b37f746d618..3d64e72a952 100644 --- a/mk/compiler/mipspro.mk +++ b/mk/compiler/mipspro.mk @@ -1,4 +1,4 @@ -# $NetBSD: mipspro.mk,v 1.32 2005/01/12 17:27:50 jlam Exp $ +# $NetBSD: mipspro.mk,v 1.33 2005/01/12 17:30:34 jlam Exp $ .if !defined(COMPILER_MIPSPRO_MK) COMPILER_MIPSPRO_MK= defined @@ -7,15 +7,19 @@ COMPILER_MIPSPRO_MK= defined MIPSPROBASE?= /usr -# LANGUAGES.<compiler> is the list of supported languages by the -# compiler. -# -LANGUAGES.mipspro= # empty +# LANGUAGES.<compiler> is the list of supported languages by the compiler. +# _LANGUAGES.<compiler> is ${LANGUAGES.<compiler>} restricted to the ones +# requested by the package in USE_LANGUAGES. +# +LANGUAGES.mipspro= c c++ +_LANGUAGES.mipspro= # empty +.for _lang_ in ${USE_LANGUAGES} +_LANGUAGES.mipspro+= ${LANGUAGES.mipspro:M${_lang_}} +.endfor _MIPSPRO_DIR= ${WRKDIR}/.mipspro _MIPSPRO_VARS= # empty .if exists(${MIPSPROBASE}/bin/cc) -LANGUAGES.mipspro+= c _MIPSPRO_VARS+= CC _MIPSPRO_CC= ${_MIPSPRO_DIR}/bin/cc _ALIASES.CC= cc @@ -23,7 +27,6 @@ CCPATH= ${MIPSPROBASE}/bin/cc PKG_CC:= ${_MIPSPRO_CC} .endif .if exists(${MIPSPROBASE}/bin/CC) -LANGUAGES.mipspro+= c++ _MIPSPRO_VARS+= CXX _MIPSPRO_CXX= ${_MIPSPRO_DIR}/bin/CC _ALIASES.CXX= CC c++ @@ -55,14 +58,6 @@ _COMPILER_ABI_FLAG.o32= # empty _COMPILER_ABI_FLAG.n32= -n32 _COMPILER_ABI_FLAG.64= -64 -# _LANGUAGES.<compiler> is ${LANGUAGES.<compiler>} restricted to the ones -# requested by the package in USE_LANGUAGES. -# -_LANGUAGES.mipspro= # empty -.for _lang_ in ${USE_LANGUAGES} -_LANGUAGES.mipspro+= ${LANGUAGES.mipspro:M${_lang_}} -.endfor - # Prepend the path to the compiler to the PATH. .if !empty(_LANGUAGES.mipspro) PREPEND_PATH+= ${_MIPSPRO_DIR}/bin |