aboutsummaryrefslogtreecommitdiffstats
path: root/x11-drivers/xf86-video-openchrome
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-openchrome
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-openchrome')
-rw-r--r--x11-drivers/xf86-video-openchrome/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-drivers/xf86-video-openchrome/Makefile b/x11-drivers/xf86-video-openchrome/Makefile
index d3087e5335f7..85695f8680fb 100644
--- a/x11-drivers/xf86-video-openchrome/Makefile
+++ b/x11-drivers/xf86-video-openchrome/Makefile
@@ -24,4 +24,10 @@ MAKE_ARGS+= drivermandir=${LOCALBASE}/man/man4
ONLY_FOR_ARCHS= amd64 i386 ia64
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+USE_GCC= 4.2+
+.endif
+
+.include <bsd.port.post.mk> \ No newline at end of file