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