diff options
author | tnn <tnn> | 2009-10-25 12:15:54 +0000 |
---|---|---|
committer | tnn <tnn> | 2009-10-25 12:15:54 +0000 |
commit | 11e1a75dc2e5476fa7c5529388015a0ecff5a3f9 (patch) | |
tree | ee7dc072584d32f9bdb9531e50a11bfb7390f9fa /x11/modular-xorg-server | |
parent | 71788f8d76d7a7298104e0345fcbc9c58e7733dd (diff) | |
download | pkgsrc-11e1a75dc2e5476fa7c5529388015a0ecff5a3f9.tar.gz |
More build fixes for non-GNU cpp(1) which usually doesn't grok -undef.
From Alexander Nasonov in PR pkg/39879.
Diffstat (limited to 'x11/modular-xorg-server')
-rw-r--r-- | x11/modular-xorg-server/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/modular-xorg-server/Makefile b/x11/modular-xorg-server/Makefile index 80c42bcd893..a90f23ec8b2 100644 --- a/x11/modular-xorg-server/Makefile +++ b/x11/modular-xorg-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.53 2009/10/14 18:46:58 hasso Exp $ +# $NetBSD: Makefile,v 1.54 2009/10/25 12:15:55 tnn Exp $ # DISTNAME= xorg-server-1.6.5 @@ -91,6 +91,11 @@ BUILDLINK_API_DEPENDS.renderproto+= renderproto>=0.9.3 BUILDLINK_API_DEPENDS.xf86dgaproto+= xf86dgaproto>=2.0.3 BUILDLINK_API_DEPENDS.xf86driproto+= xf86driproto>=2.0.4 +.include "../../mk/compiler.mk" +.if empty(PKGSRC_COMPILER:Mgcc) +CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -" +.endif + .include "options.mk" .include "../../devel/ncurses/buildlink3.mk" |