diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2012-04-08 17:21:13 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2012-04-08 17:21:13 +0000 |
commit | 66a0390bb68dd50e14684445472d59f21bb05082 (patch) | |
tree | bc37d4f33b6647ca67fc8f8cdb52d5a969fdbd15 /graphics | |
parent | c9441319a91c4975ef2a634603d2d8934d87cb11 (diff) | |
download | pkgsrc-66a0390bb68dd50e14684445472d59f21bb05082.tar.gz |
Fix build on MirBSD by working around a bug in configure.
The problem is the following: When checking the CFLAGS / LIBS for
including pthread support, any warning on stdout is counted as a no.
However, the test does not use CFLAGS on the command line, which
produces a harmless debug warning. This workaround has the consequence
of adding the default CFLAGS twice on the command line but this is not
a problem.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cairo/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile index 2795425c982..1908655871d 100644 --- a/graphics/cairo/Makefile +++ b/graphics/cairo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.97 2012/02/24 10:40:49 obache Exp $ +# $NetBSD: Makefile,v 1.98 2012/04/08 17:21:13 bsiegert Exp $ DISTNAME= cairo-1.10.2 PKGREVISION= 4 @@ -46,6 +46,11 @@ TEST_TARGET= check CONFIGURE_ENV+= ac_cv_type___uint128_t=no .endif +# Workaround so that pthread is found on MirBSD +.if ${OPSYS} == "MirBSD" +CONFIGURE_ENV+= PTHREAD_CFLAGS=${CFLAGS:Q} +.endif + .include "../../devel/zlib/buildlink3.mk" .include "../../fonts/fontconfig/buildlink3.mk" BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.1.9 |