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