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