diff options
author | tnn <tnn> | 2008-02-08 10:34:19 +0000 |
---|---|---|
committer | tnn <tnn> | 2008-02-08 10:34:19 +0000 |
commit | 10620be7c53dd97c16f8696d4b334c5c31affedc (patch) | |
tree | 36062df675f9d133992b3e8ab1a488e16c8cef6e /graphics/netpbm/hacks.mk | |
parent | 7927f4a6333d8926a24ca9e8dc43d98467631333 (diff) | |
download | pkgsrc-10620be7c53dd97c16f8696d4b334c5c31affedc.tar.gz |
Fix more cases of non-chainable PKGSRC_COMPILER tests.
Diffstat (limited to 'graphics/netpbm/hacks.mk')
-rw-r--r-- | graphics/netpbm/hacks.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/netpbm/hacks.mk b/graphics/netpbm/hacks.mk index f4ea4ef62b7..ee8c8cd6aa2 100644 --- a/graphics/netpbm/hacks.mk +++ b/graphics/netpbm/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.6 2007/10/16 23:48:59 tnn Exp $ +# $NetBSD: hacks.mk,v 1.7 2008/02/08 10:34:19 tnn Exp $ .if !defined(NETPBM_HACKS_MK) NETPBM_HACKS_MK= # defined @@ -38,7 +38,7 @@ post-wrapper: ### work around bug in Apple's gcc-4.0.0 ### that shows up when compiling frame.c ### -.if ${OPSYS} == "Darwin" && ${PKGSRC_COMPILER} == "gcc" +.if ${OPSYS} == "Darwin" && !empty(PKGSRC_COMPILER:Mgcc) _BAD_GCC_BUILD!= ${CC} --version | (${GREP} -c '^powerpc-apple-darwin8-gcc-4\.0\.0.*build\ 4061' || ${TRUE}) . if ${_BAD_GCC_BUILD} == "1" PKG_HACKS+= apple-gcc-4-bug |