summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2007-05-27 03:03:31 +0000
committerkris <kris@FreeBSD.org>2007-05-27 03:03:31 +0000
commit3ee20a81fbe38cbba4000ad893e1ac81e953f2eb (patch)
tree965567cbb664ce2d1956915bd4daa13e8e6e1241 /lang
parent0ccd4067feff5266b8b5bc29943d9c4ca415e847 (diff)
downloadFreeBSD-ports-3ee20a81fbe38cbba4000ad893e1ac81e953f2eb.zip
FreeBSD-ports-3ee20a81fbe38cbba4000ad893e1ac81e953f2eb.tar.gz
BROKEN with gcc 4.2
Diffstat (limited to 'lang')
-rw-r--r--lang/klone/Makefile4
-rw-r--r--lang/moscow_ml/Makefile8
-rw-r--r--lang/njs/Makefile8
3 files changed, 18 insertions, 2 deletions
diff --git a/lang/klone/Makefile b/lang/klone/Makefile
index bf3d7bd..6e0575f 100644
--- a/lang/klone/Makefile
+++ b/lang/klone/Makefile
@@ -23,6 +23,10 @@ WRKSRC= ${WRKDIR}/Klone
BROKEN= Does not compile on sparc64
.endif
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
do-configure:
@${SED} -e 's:%%PREFIX%%:${PREFIX}:' \
-e 's:%%CC%%:${CC}:' \
diff --git a/lang/moscow_ml/Makefile b/lang/moscow_ml/Makefile
index 1b35ece..f79ea48 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>
diff --git a/lang/njs/Makefile b/lang/njs/Makefile
index e05e579..83cade3 100644
--- a/lang/njs/Makefile
+++ b/lang/njs/Makefile
@@ -28,6 +28,12 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
MAN1= js.1 jsdas.1
INFO= js
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-extract:
@${RM} ${WRKSRC}/docs/js.info*
@@ -41,4 +47,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud