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 /x11/xf86-video-sis | |
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.
Diffstat (limited to 'x11/xf86-video-sis')
-rw-r--r-- | x11/xf86-video-sis/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
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" |