diff options
author | gdt <gdt@pkgsrc.org> | 2016-08-20 13:19:21 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2016-08-20 13:19:21 +0000 |
commit | b61ea5d86bcf79eaa304445c2d721acd20e56a4f (patch) | |
tree | 78d76a47308494a426ddb4475bd09eb897e4b9e5 /x11/wxGTK30 | |
parent | d2b0b4c0dc886d4e89acbf589dad63d8e2400b28 (diff) | |
download | pkgsrc-b61ea5d86bcf79eaa304445c2d721acd20e56a4f.tar.gz |
Extend check for gcc to work with distcc/ccache
Instead of checking that PKGSRC_COMPILER is equal to gcc, see if gcc
is contained in it. Thus, if PKGSRC_COMPILER is "ccache gcc" or
"ccache distcc gcc", the hack will still be applied. (As a side
effect, I can confirm that the hack is still needed on recent netbsd-7
i386.)
Diffstat (limited to 'x11/wxGTK30')
-rw-r--r-- | x11/wxGTK30/hacks.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/wxGTK30/hacks.mk b/x11/wxGTK30/hacks.mk index f2522e6f2d9..423e79f110f 100644 --- a/x11/wxGTK30/hacks.mk +++ b/x11/wxGTK30/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.4 2016/06/02 11:41:26 bouyer Exp $ +# $NetBSD: hacks.mk,v 1.5 2016/08/20 13:19:21 gdt Exp $ ### [Mon Dec 14 16:58:00 MET 2015 : bouyer ] ### g++-4.8 on NetBSD/i386 fails with an internal compiler error @@ -6,7 +6,7 @@ ### .if ${OPSYS} == "NetBSD" . include "../../mk/compiler.mk" -. if ${PKGSRC_COMPILER} == "gcc" && \ +. if !empty(PKGSRC_COMPILER:Mgcc) && \ (!empty(CC_VERSION:Mgcc-4.8.*) || !empty(CC_VERSION:Mgcc-5.*)) CONFIGURE_ARGS+= --disable-precomp-headers . endif |