diff options
author | tnn <tnn@pkgsrc.org> | 2009-10-25 12:15:54 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2009-10-25 12:15:54 +0000 |
commit | a3ca25b55e1786361588d0e954b667ef0326c9f4 (patch) | |
tree | ee7dc072584d32f9bdb9531e50a11bfb7390f9fa | |
parent | fbf6f2d7a5d56c0a35171e165fa7bf54813bef8f (diff) | |
download | pkgsrc-a3ca25b55e1786361588d0e954b667ef0326c9f4.tar.gz |
More build fixes for non-GNU cpp(1) which usually doesn't grok -undef.
From Alexander Nasonov in PR pkg/39879.
-rw-r--r-- | devel/imake/Makefile | 7 | ||||
-rw-r--r-- | x11/modular-xorg-server/Makefile | 7 | ||||
-rw-r--r-- | x11/xdm/Makefile | 7 | ||||
-rw-r--r-- | x11/xf86-video-sis/Makefile | 7 |
4 files changed, 24 insertions, 4 deletions
diff --git a/devel/imake/Makefile b/devel/imake/Makefile index 550e7789509..8c6661ab93e 100644 --- a/devel/imake/Makefile +++ b/devel/imake/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2008/05/24 21:45:20 tnn Exp $ +# $NetBSD: Makefile,v 1.7 2009/10/25 12:15:54 tnn Exp $ # DISTNAME= imake-1.0.2 @@ -22,6 +22,11 @@ CONFIGURE_ENV+= APP_MAN_SUFFIX=1 REPLACE_PERL+= mkhtmlindex.pl +.include "../../mk/compiler.mk" +.if empty(PKGSRC_COMPILER:Mgcc) +CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -" +.endif + .include "../../x11/xproto/buildlink3.mk" .include "../../mk/bsd.pkg.mk" 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" diff --git a/x11/xdm/Makefile b/x11/xdm/Makefile index 2dda12eae58..b616799fc34 100644 --- a/x11/xdm/Makefile +++ b/x11/xdm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2008/11/10 17:21:39 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2009/10/25 12:15:54 tnn Exp $ DISTNAME= xdm-1.1.6 PKGREVISION= 2 @@ -53,6 +53,11 @@ CONFIGURE_ARGS+= --with-random-device=/dev/urandom CONFIGURE_ARGS+= --with-default-vt=vt05 .endif +.include "../../mk/compiler.mk" +.if empty(PKGSRC_COMPILER:Mgcc) +CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -" +.endif + .include "options.mk" .include "../../x11/libXaw/buildlink3.mk" diff --git a/x11/xf86-video-sis/Makefile b/x11/xf86-video-sis/Makefile index faae8e63c96..9ebc97c518c 100644 --- a/x11/xf86-video-sis/Makefile +++ b/x11/xf86-video-sis/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2009/08/09 22:56:13 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2009/10/25 12:15:55 tnn Exp $ # DISTNAME= xf86-video-sis-0.10.2 @@ -18,6 +18,11 @@ USE_LIBTOOL= yes GNU_CONFIGURE= yes USE_TOOLS+= pkg-config +.include "../../mk/compiler.mk" +.if empty(PKGSRC_COMPILER:Mgcc) +CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -" +.endif + .include "../../graphics/MesaLib/buildlink3.mk" .include "../../x11/modular-xorg-server/buildlink3.mk" .include "../../x11/randrproto/buildlink3.mk" |