pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk _PKGSRC_COMPILER needs to contain the real compiler...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3815eba58984
branches:  trunk
changeset: 474986:3815eba58984
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat May 08 15:09:31 2004 +0000

description:
_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:

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

diffs (18 lines):

diff -r f243d6829c97 -r 3815eba58984 mk/compiler.mk
--- a/mk/compiler.mk    Sat May 08 15:09:14 2004 +0000
+++ b/mk/compiler.mk    Sat May 08 15:09:31 2004 +0000
@@ -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 @@
 
 .for _compiler_ in ${_PSEUDO_COMPILERS}
 .  if !empty(PKGSRC_COMPILER:M${_compiler_})
-_PKGSRC_COMPILER:=     ${_compiler_} ${_PKGSRC_COMPILER}
+_PKGSRC_COMPILER:=     ${_PKGSRC_COMPILER} ${_compiler_}
 .  endif
 .endfor
 



Home | Main Index | Thread Index | Old Index