aboutsummaryrefslogtreecommitdiff
path: root/devel/cross-binutils
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-12-16 23:36:35 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-12-16 23:36:35 +0000
commit5ad97dc41c14f8983714e17e696dc07a7397ce6e (patch)
tree31e57fa08b77dcadfea6681db40d79ff68f2f238 /devel/cross-binutils
parent2f2b0d7a5912095e3f6a09600b159845890f8b90 (diff)
downloadports-5ad97dc41c14f8983714e17e696dc07a7397ce6e.tar.gz
ports-5ad97dc41c14f8983714e17e696dc07a7397ce6e.zip
- Mark BROKEN on respective targets/archs
Notes
Notes: svn path=/head/; revision=203888
Diffstat (limited to 'devel/cross-binutils')
-rw-r--r--devel/cross-binutils/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/devel/cross-binutils/Makefile b/devel/cross-binutils/Makefile
index f4df54df4d75..e91214cb850b 100644
--- a/devel/cross-binutils/Makefile
+++ b/devel/cross-binutils/Makefile
@@ -82,6 +82,18 @@ FIXREFS= ${SH} -c '${REINPLACE_CMD} -E \
-e "s,(@file)\{$$0\},\1\{${OURTARGET}-$$0\},g" \
-e "s,\($$0\),\(${OURTARGET}-$$0\),g" $$*' --
+.include <bsd.port.pre.mk>
+
+.if defined(TGTARCH)
+.if ${TGTARCH} == "sparc" && ${ARCH} == "amd64"
+BROKEN= Does not link
+.endif
+
+.if ${TGTARCH} == "m68k" && ${ARCH} == "amd64" && ${OSVERSION} < 600000
+BROKEN= Does not compile
+.endif
+.endif
+
post-patch:
#
# Patch and rename info files
@@ -122,4 +134,4 @@ post-install:
@${FIND} -ds ${PREFIX}/${OURTARGET} -type d | \
${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>