aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-input-mouse
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-mouse
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-mouse')
-rw-r--r--x11-drivers/xf86-input-mouse/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-drivers/xf86-input-mouse/Makefile b/x11-drivers/xf86-input-mouse/Makefile
index 088123373dfc..a242f927a845 100644
--- a/x11-drivers/xf86-input-mouse/Makefile
+++ b/x11-drivers/xf86-input-mouse/Makefile
@@ -15,4 +15,10 @@ COMMENT= X.Org mouse input driver
XORG_CAT= driver
MAN4= mousedrv.4x
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+USE_GCC= 4.2+
+.endif
+
+.include <bsd.port.post.mk>