diff options
author | sketch <sketch@pkgsrc.org> | 2004-11-11 13:47:32 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2004-11-11 13:47:32 +0000 |
commit | bffae15fa1b4c9e6df87f81d90ac4607803972b1 (patch) | |
tree | ab58c854d622a24c31d921c1118ec1c8ad951d14 /x11/Xrender | |
parent | c6de3cfd9eae5010a484f2507830461771555fdb (diff) | |
download | pkgsrc-bffae15fa1b4c9e6df87f81d90ac4607803972b1.tar.gz |
Turn on ANSI when compiling with SunPro to work around certain revisions of
OpenWindows headers which incorrectly check __STDC__ and lead to macro
concatenation breakage with the SunPro compiler.
Diffstat (limited to 'x11/Xrender')
-rw-r--r-- | x11/Xrender/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/Xrender/Makefile b/x11/Xrender/Makefile index 39e1ff337cb..3c86ff38a10 100644 --- a/x11/Xrender/Makefile +++ b/x11/Xrender/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2004/10/03 00:18:28 tv Exp $ +# $NetBSD: Makefile,v 1.20 2004/11/11 13:47:32 sketch Exp $ DISTNAME= libXrender-0.8.4 PKGNAME= ${DISTNAME:S/lib//} @@ -18,6 +18,12 @@ USE_LIBTOOL= YES GNU_CONFIGURE= YES PKGCONFIG_OVERRIDE= xrender.pc.in +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Msunpro) +CFLAGS+= -Xc +.endif + BUILDLINK_DEPENDS.render+= render>=0.8 .include "../../devel/pkgconfig/buildlink3.mk" |