aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-siliconmotion/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-video-siliconmotion/Makefile')
-rw-r--r--x11-drivers/xf86-video-siliconmotion/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-drivers/xf86-video-siliconmotion/Makefile b/x11-drivers/xf86-video-siliconmotion/Makefile
index cfa486f576bd..0d4939173c87 100644
--- a/x11-drivers/xf86-video-siliconmotion/Makefile
+++ b/x11-drivers/xf86-video-siliconmotion/Makefile
@@ -16,4 +16,10 @@ XORG_CAT= driver
USE_XORG= videoproto xextproto
MAN4= siliconmotion.4x
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+USE_GCC= 4.2+
+.endif
+
+.include <bsd.port.post.mk>