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/xf86-video-sis | |
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/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" |