summaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-input-keyboard/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-input-keyboard/Makefile')
-rw-r--r--x11-drivers/xf86-input-keyboard/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11-drivers/xf86-input-keyboard/Makefile b/x11-drivers/xf86-input-keyboard/Makefile
index a24488f4a6cc..2a8c6b6e1b4b 100644
--- a/x11-drivers/xf86-input-keyboard/Makefile
+++ b/x11-drivers/xf86-input-keyboard/Makefile
@@ -16,4 +16,11 @@ XORG_CAT= driver
USE_XORG= kbproto
MAN4= kbd.4x
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+USE_GCC= 4.2+
+.endif
+
+.include <bsd.port.post.mk>
+