summaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-mach64
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-mach64
parentbad881dd75376827336b2541941f4c7b3e7b829d (diff)
downloadfreebsd-ports-782d0a4471497c04fffad12bf27383357101ea54.zip
- Fix build on 6.X
Diffstat (limited to 'x11-drivers/xf86-video-mach64')
-rw-r--r--x11-drivers/xf86-video-mach64/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-drivers/xf86-video-mach64/Makefile b/x11-drivers/xf86-video-mach64/Makefile
index 40877d30b348..f7d3973e59b6 100644
--- a/x11-drivers/xf86-video-mach64/Makefile
+++ b/x11-drivers/xf86-video-mach64/Makefile
@@ -17,4 +17,10 @@ USE_GL= gl
XORG_CAT= driver
USE_XORG= glproto videoproto xextproto xf86driproto xf86miscproto xineramaproto
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+USE_GCC= 4.2+
+.endif
+
+.include <bsd.port.post.mk>