diff options
author | spz <spz> | 2012-04-09 19:52:24 +0000 |
---|---|---|
committer | spz <spz> | 2012-04-09 19:52:24 +0000 |
commit | 104ed9c291734a2e6c547cc6ee1338aed4cdfe25 (patch) | |
tree | d6a827272193c19ad63a5b96b66f7e848fb55eb2 /graphics | |
parent | 4e14a4d09027c2db7ec5c3163cdf55b843dfb39d (diff) | |
download | pkgsrc-104ed9c291734a2e6c547cc6ee1338aed4cdfe25.tar.gz |
Pullup ticket #3727 - requested by bsiegert
graphics/cairo: build fix
Revisions pulled up:
- graphics/cairo/Makefile 1.98
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: bsiegert
Date: Sun Apr 8 17:21:13 UTC 2012
Modified Files:
pkgsrc/graphics/cairo: Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 pkgsrc/graphics/cairo/Makefile
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..e71bb716b73 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.97.2.1 2012/04/09 19:52:24 spz 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 |