aboutsummaryrefslogtreecommitdiffstats
path: root/x11-drivers/xf86-video-dummy
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-05-07 13:12:36 +0800
committermiwi <miwi@FreeBSD.org>2010-05-07 13:12:36 +0800
commitc0c7ab2ea8421121a3142e721ce9f0e30733ef85 (patch)
treea5dfbbbe0d80891b9dbefe0e63ea1aa9e0891e12 /x11-drivers/xf86-video-dummy
parentf362dea7e365997b69a60d907faf00bdc57a270f (diff)
downloadfreebsd-ports-gnome-c0c7ab2ea8421121a3142e721ce9f0e30733ef85.tar.gz
freebsd-ports-gnome-c0c7ab2ea8421121a3142e721ce9f0e30733ef85.tar.zst
freebsd-ports-gnome-c0c7ab2ea8421121a3142e721ce9f0e30733ef85.zip
- Fix build on 6.X
Diffstat (limited to 'x11-drivers/xf86-video-dummy')
-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>