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 | c1fc13a3ae058b5b1c840a72e7669f08aa31919f (patch) | |
tree | ab58c854d622a24c31d921c1118ec1c8ad951d14 /x11/Xrender/Makefile | |
parent | 1eb6a355bb52a2626ce2de2721f730b965f5ba00 (diff) | |
download | pkgsrc-c1fc13a3ae058b5b1c840a72e7669f08aa31919f.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/Makefile')
-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" |