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