aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-sis
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-05-07 05:12:36 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-05-07 05:12:36 +0000
commit782d0a4471497c04fffad12bf27383357101ea54 (patch)
tree4cd9a82e2244d400c5979cae83786faa998a0e52 /x11-drivers/xf86-video-sis
parentbad881dd75376827336b2541941f4c7b3e7b829d (diff)
downloadports-782d0a4471497c04fffad12bf27383357101ea54.tar.gz
ports-782d0a4471497c04fffad12bf27383357101ea54.zip
- Fix build on 6.X
Notes
Notes: svn path=/head/; revision=253883
Diffstat (limited to 'x11-drivers/xf86-video-sis')
-rw-r--r--x11-drivers/xf86-video-sis/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-drivers/xf86-video-sis/Makefile b/x11-drivers/xf86-video-sis/Makefile
index 9e69a2401da0..ffd3258e3e96 100644
--- a/x11-drivers/xf86-video-sis/Makefile
+++ b/x11-drivers/xf86-video-sis/Makefile
@@ -20,4 +20,10 @@ XORG_CAT= driver
USE_XORG= xf86dgaproto xf86driproto xineramaproto videoproto xf86miscproto xextproto glproto
MAN4= sis.4x
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+USE_GCC= 4.2+
+.endif
+
+.include <bsd.port.post.mk>