aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-input-fpit
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-05-07 03:37:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-05-07 03:37:45 +0000
commitdf1c5551d24aae8ad7283a1b1be1e2b2233aae21 (patch)
tree8815b4601f79ffeb4afb592441c225238e4eba54 /x11-drivers/xf86-input-fpit
parent79f18f57cd71506ee0cf4a0dc57c2821a26e50c7 (diff)
downloadports-df1c5551d24aae8ad7283a1b1be1e2b2233aae21.tar.gz
ports-df1c5551d24aae8ad7283a1b1be1e2b2233aae21.zip
- Fix build on 6.X
Notes
Notes: svn path=/head/; revision=253877
Diffstat (limited to 'x11-drivers/xf86-input-fpit')
-rw-r--r--x11-drivers/xf86-input-fpit/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-drivers/xf86-input-fpit/Makefile b/x11-drivers/xf86-input-fpit/Makefile
index e34603bc2b8f..d2956cc9352f 100644
--- a/x11-drivers/xf86-input-fpit/Makefile
+++ b/x11-drivers/xf86-input-fpit/Makefile
@@ -18,4 +18,10 @@ USE_XORG= xrandr
MAN4= fpit.4x
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+USE_GCC= 4.2+
+.endif
+
+.include <bsd.port.post.mk>