aboutsummaryrefslogtreecommitdiffstats
path: root/x11-drivers/xf86-video-vesa
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-vesa
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-vesa')
-rw-r--r--x11-drivers/xf86-video-vesa/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-drivers/xf86-video-vesa/Makefile b/x11-drivers/xf86-video-vesa/Makefile
index 815964632a39..4ef5ad73d5dc 100644
--- a/x11-drivers/xf86-video-vesa/Makefile
+++ b/x11-drivers/xf86-video-vesa/Makefile
@@ -16,4 +16,10 @@ XORG_CAT= driver
USE_XORG= xextproto
MAN4= vesa.4x
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+USE_GCC= 4.2+
+.endif
+
+.include <bsd.port.post.mk>