summaryrefslogtreecommitdiff
path: root/x11/xf86-video-sis
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xf86-video-sis')
-rw-r--r--x11/xf86-video-sis/Makefile7
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"