aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-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>