diff options
author | minskim <minskim@pkgsrc.org> | 2011-11-16 03:45:03 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2011-11-16 03:45:03 +0000 |
commit | 5971a53ecd22eeddfe5d21e71fac3d7fce70e3ff (patch) | |
tree | d06a80a0d3f7c99440484924df9fd72a37eceaee /graphics | |
parent | e90aff3898f7073a266580bf61c942b70e6a7893 (diff) | |
download | pkgsrc-5971a53ecd22eeddfe5d21e71fac3d7fce70e3ff.tar.gz |
Use a stricter condition to enable the hack.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cairo/hacks.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/cairo/hacks.mk b/graphics/cairo/hacks.mk index 751d5673e16..69924d520b8 100644 --- a/graphics/cairo/hacks.mk +++ b/graphics/cairo/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.1 2011/11/16 03:13:28 minskim Exp $ +# $NetBSD: hacks.mk,v 1.2 2011/11/16 03:45:03 minskim Exp $ .if !defined(CAIRO_HACKS_MK) CAIRO_HACKS_MK= defined @@ -9,7 +9,7 @@ CAIRO_HACKS_MK= defined ### .if ${OPSYS} == "Darwin" && !empty(PKGSRC_COMPILER:Mgcc) _BAD_GCC_BUILD!= ${CC} --version | (${GREP} -c 'i686-apple-darwin11-llvm-gcc-4\.2\ .*build\ 5658' || ${TRUE}) -. if ${_BAD_GCC_BUILD} == "1" +. if ${_BAD_GCC_BUILD} == "1" && exists(/usr/bin/gcc-4.2) PKG_HACKS+= llvm-link CONFIGURE_ENV+= ac_cv_prog_CC=gcc-4.2 . endif |