aboutsummaryrefslogtreecommitdiff
path: root/lang/moscow_ml/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-05-27 03:03:31 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-05-27 03:03:31 +0000
commitb7ff7031ea6f07582ad920bef0ffd13ac1adcc44 (patch)
treefa95c4dec9e92efb4ff7df81d579129d7bc11807 /lang/moscow_ml/Makefile
parentbd5f3dd41b37a452c489843e85d75cf94433bbc6 (diff)
downloadports-b7ff7031ea6f07582ad920bef0ffd13ac1adcc44.tar.gz
ports-b7ff7031ea6f07582ad920bef0ffd13ac1adcc44.zip
BROKEN with gcc 4.2
Notes
Notes: svn path=/head/; revision=191950
Diffstat (limited to 'lang/moscow_ml/Makefile')
-rw-r--r--lang/moscow_ml/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/moscow_ml/Makefile b/lang/moscow_ml/Makefile
index 1b35ece5948a..f79ea488b2cc 100644
--- a/lang/moscow_ml/Makefile
+++ b/lang/moscow_ml/Makefile
@@ -30,6 +30,12 @@ MAKE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" DOCSDIR="${DOCSDIR}" \
PKGMESSAGE= ${WRKDIR}/pkgmessage
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-patch:
${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
${REINPLACE_CMD} -e "s,-O2,${CFLAGS} -I${LOCALBASE}/include,"
@@ -63,4 +69,4 @@ post-install:
@${FIND} ${EXAMPLESDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>