diff options
author | dsainty <dsainty@pkgsrc.org> | 2006-11-09 13:26:36 +0000 |
---|---|---|
committer | dsainty <dsainty@pkgsrc.org> | 2006-11-09 13:26:36 +0000 |
commit | bac3044b6fc0bbfca24b3d58b9496262736e292b (patch) | |
tree | 720bd2ac2ecf9a7ebd77fddd2b1b5371ae45ee9c /graphics/cairo | |
parent | 76f229d5d66f1290bf59c69decf4507a52cb7d6d (diff) | |
download | pkgsrc-bac3044b6fc0bbfca24b3d58b9496262736e292b.tar.gz |
Teach Solaris to expose snprintf() with:
CPPFLAGS.SunOS+=-D__EXTENSIONS__
Without this a Solaris 9 build falls over at cairo-output-stream.c.
Diffstat (limited to 'graphics/cairo')
-rw-r--r-- | graphics/cairo/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile index f9244aa3b4d..d75d632da86 100644 --- a/graphics/cairo/Makefile +++ b/graphics/cairo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.49 2006/11/05 17:23:44 joerg Exp $ +# $NetBSD: Makefile,v 1.50 2006/11/09 13:26:36 dsainty Exp $ DISTNAME= cairo-1.2.4 PKGREVISION= 3 @@ -39,6 +39,9 @@ BUILDLINK_API_DEPENDS.glitz+= glitz>=0.5.1 CFLAGS+= -c99 .endif +# For snprintf() +CPPFLAGS.SunOS+= -D__EXTENSIONS__ + TEST_TARGET= check .include "../../devel/zlib/buildlink3.mk" |