aboutsummaryrefslogtreecommitdiffstats
path: root/x11-drivers/xf86-video-r128
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-r128
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-r128')
-rw-r--r--x11-drivers/xf86-video-r128/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-drivers/xf86-video-r128/Makefile b/x11-drivers/xf86-video-r128/Makefile
index 899a8e3528dc..8cba4b04b7a6 100644
--- a/x11-drivers/xf86-video-r128/Makefile
+++ b/x11-drivers/xf86-video-r128/Makefile
@@ -18,4 +18,10 @@ XORG_CAT= driver
USE_XORG= glproto videoproto xextproto xf86driproto xf86miscproto xineramaproto
MAN4= r128.4x
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+USE_GCC= 4.2+
+.endif
+
+.include <bsd.port.post.mk>