summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant>2004-05-08 15:09:31 +0000
committergrant <grant>2004-05-08 15:09:31 +0000
commit1fe5332445f3401c5f0d2579b50b54acd1bd1870 (patch)
tree966b42d86b224fde939caa593b89053bcf7eafc5 /mk
parent9648456337d5214d3b20038837d4b1117fea6914 (diff)
downloadpkgsrc-1fe5332445f3401c5f0d2579b50b54acd1bd1870.tar.gz
_PKGSRC_COMPILER needs to contain the real compiler first, then
pseudo-compilers such as ccache and distcc. fixes problem where lang/gcc{,3} would be incorrectly pulled in when it should not be.
Diffstat (limited to 'mk')
-rw-r--r--mk/compiler.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler.mk b/mk/compiler.mk
index 5e6765e7b19..4c42ba0f016 100644
--- a/mk/compiler.mk
+++ b/mk/compiler.mk
@@ -1,4 +1,4 @@
-# $NetBSD: compiler.mk,v 1.28 2004/05/08 06:03:26 grant Exp $
+# $NetBSD: compiler.mk,v 1.29 2004/05/08 15:09:31 grant Exp $
#
# This Makefile fragment implements handling for supported C/C++/Fortran
# compilers.
@@ -138,7 +138,7 @@ _PKGSRC_COMPILER:= ${_COMPILER}
.for _compiler_ in ${_PSEUDO_COMPILERS}
. if !empty(PKGSRC_COMPILER:M${_compiler_})
-_PKGSRC_COMPILER:= ${_compiler_} ${_PKGSRC_COMPILER}
+_PKGSRC_COMPILER:= ${_PKGSRC_COMPILER} ${_compiler_}
. endif
.endfor