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