diff options
author | sketch <sketch> | 2004-11-11 13:47:32 +0000 |
---|---|---|
committer | sketch <sketch> | 2004-11-11 13:47:32 +0000 |
commit | e2ba3ab55c3a5a3a0e0692e991d79d7a3c7e81f3 (patch) | |
tree | ab58c854d622a24c31d921c1118ec1c8ad951d14 /x11/Xrender | |
parent | 3b2a8016d02cb3b0bde104aa51c40dd16f46ab33 (diff) | |
download | pkgsrc-e2ba3ab55c3a5a3a0e0692e991d79d7a3c7e81f3.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" |