aboutsummaryrefslogtreecommitdiffstats
path: root/lang/polyml
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-10-20 05:51:58 +0800
committerpav <pav@FreeBSD.org>2010-10-20 05:51:58 +0800
commit90a6f622c26810cc3a79ccbfb4050f0c9351922c (patch)
treed8b25fcbe1e003072f9f48a54ba3406ad5029293 /lang/polyml
parent18a245a0198cc73183a0164f4f08f9bba374b4bb (diff)
downloadfreebsd-ports-gnome-90a6f622c26810cc3a79ccbfb4050f0c9351922c.tar.gz
freebsd-ports-gnome-90a6f622c26810cc3a79ccbfb4050f0c9351922c.tar.zst
freebsd-ports-gnome-90a6f622c26810cc3a79ccbfb4050f0c9351922c.zip
- Try to fix build on amd64/6 (untested)
Suggested by: maintainer
Diffstat (limited to 'lang/polyml')
-rw-r--r--lang/polyml/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/polyml/Makefile b/lang/polyml/Makefile
index a57fd94485ba..e58aad23901f 100644
--- a/lang/polyml/Makefile
+++ b/lang/polyml/Makefile
@@ -35,4 +35,10 @@ PLIST_FILES= bin/poly \
MAN1= poly.1 polyimport.1
MANCOMPRESSED= no
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000 && ${ARCH} == "amd64"
+USE_GCC= 4.2+
+.endif
+
+.include <bsd.port.post.mk>