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