aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-dummy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-video-dummy/Makefile')
-rw-r--r--x11-drivers/xf86-video-dummy/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-drivers/xf86-video-dummy/Makefile b/x11-drivers/xf86-video-dummy/Makefile
index 7885594523c7..786ab73d5576 100644
--- a/x11-drivers/xf86-video-dummy/Makefile
+++ b/x11-drivers/xf86-video-dummy/Makefile
@@ -15,4 +15,10 @@ COMMENT= X.Org dummy display driver
XORG_CAT= driver
USE_XORG= videoproto xf86dgaproto
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+USE_GCC= 4.2+
+.endif
+
+.include <bsd.port.post.mk>