From 1fe5332445f3401c5f0d2579b50b54acd1bd1870 Mon Sep 17 00:00:00 2001 From: grant Date: Sat, 8 May 2004 15:09:31 +0000 Subject: _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. --- mk/compiler.mk | 4 ++-- 1 file 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 -- cgit v1.2.3