aboutsummaryrefslogtreecommitdiffstats
path: root/x11-drivers/xf86-input-synaptics
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-05-07 11:37:45 +0800
committermiwi <miwi@FreeBSD.org>2010-05-07 11:37:45 +0800
commitd24057a451f7ecd883e42a1b5cbe2d85c8bce679 (patch)
tree460824fc846311d0cd14a2f8ccdc373dd98c4e34 /x11-drivers/xf86-input-synaptics
parentdf364674383c9b1e3fb20758a2e166d1e12281c6 (diff)
downloadfreebsd-ports-gnome-d24057a451f7ecd883e42a1b5cbe2d85c8bce679.tar.gz
freebsd-ports-gnome-d24057a451f7ecd883e42a1b5cbe2d85c8bce679.tar.zst
freebsd-ports-gnome-d24057a451f7ecd883e42a1b5cbe2d85c8bce679.zip
- Fix build on 6.X
Diffstat (limited to 'x11-drivers/xf86-input-synaptics')
-rw-r--r--x11-drivers/xf86-input-synaptics/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-drivers/xf86-input-synaptics/Makefile b/x11-drivers/xf86-input-synaptics/Makefile
index 5ee9b9158b14..27c9090a1484 100644
--- a/x11-drivers/xf86-input-synaptics/Makefile
+++ b/x11-drivers/xf86-input-synaptics/Makefile
@@ -27,4 +27,10 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/fdi/11-x11-synaptics.fdi \
${PREFIX}/share/hal/fdi/policy/10osvendor/
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+USE_GCC= 4.2+
+.endif
+
+.include <bsd.port.post.mk>