pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/compiler Match names for the C and C++ compilers wi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/883e113e0118
branches: trunk
changeset: 467459:883e113e0118
user: jlam <jlam%pkgsrc.org@localhost>
date: Sun Feb 01 01:33:06 2004 +0000
description:
Match names for the C and C++ compilers with the ones we're masquerading.
This should allow ccache to work with SunPro and MIPSpro compilers.
diffstat:
mk/compiler/ccache.mk | 6 +++---
mk/compiler/distcc.mk | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (40 lines):
diff -r 2f72a0dddcd0 -r 883e113e0118 mk/compiler/ccache.mk
--- a/mk/compiler/ccache.mk Sun Feb 01 01:31:58 2004 +0000
+++ b/mk/compiler/ccache.mk Sun Feb 01 01:33:06 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ccache.mk,v 1.1 2004/02/01 00:31:00 jlam Exp $
+# $NetBSD: ccache.mk,v 1.2 2004/02/01 01:33:06 jlam Exp $
.if !defined(COMPILER_CCACHE_MK)
COMPILER_CCACHE_MK= defined
@@ -30,8 +30,8 @@
_CCACHE_DIR= ${WRKDIR}/.ccache
PATH:= ${_CCACHE_DIR}/bin:${PATH}
-CC= ${_CCACHE_DIR}/bin/cc
-CXX= ${_CCACHE_DIR}/bin/c++
+CC:= ${_CCACHE_DIR}/bin/${CC:T}
+CXX:= ${_CCACHE_DIR}/bin/${CXX:T}
. for _target_ in CC CXX
override-tools: ${${_target_}}
diff -r 2f72a0dddcd0 -r 883e113e0118 mk/compiler/distcc.mk
--- a/mk/compiler/distcc.mk Sun Feb 01 01:31:58 2004 +0000
+++ b/mk/compiler/distcc.mk Sun Feb 01 01:33:06 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: distcc.mk,v 1.1 2004/02/01 00:31:00 jlam Exp $
+# $NetBSD: distcc.mk,v 1.2 2004/02/01 01:33:06 jlam Exp $
.if !defined(COMPILER_DISTCC_MK)
COMPILER_DISTCC_MK= defined
@@ -30,8 +30,8 @@
_DISTCC_DIR= ${WRKDIR}/.distcc
PATH:= ${_DISTCC_DIR}/bin:${PATH}
-CC= ${_DISTCC_DIR}/bin/cc
-CXX= ${_DISTCC_DIR}/bin/c++
+CC:= ${_DISTCC_DIR}/bin/${CC:T}
+CXX:= ${_DISTCC_DIR}/bin/${CXX:T}
. for _target_ in CC CXX
override-tools: ${${_target_}}
Home |
Main Index |
Thread Index |
Old Index