aboutsummaryrefslogtreecommitdiffstats
path: root/devel/mingw-gcc
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-02-24 09:39:45 +0800
committerkris <kris@FreeBSD.org>2004-02-24 09:39:45 +0800
commitbd466a724e69956e3f7a8f63f62c5833c387ef23 (patch)
tree155089edfcbfb484363cecd2ea0796c313aae71e /devel/mingw-gcc
parentcd76efdb90f90736546f8111a630f77f32f1a5a8 (diff)
downloadfreebsd-ports-gnome-bd466a724e69956e3f7a8f63f62c5833c387ef23.tar.gz
freebsd-ports-gnome-bd466a724e69956e3f7a8f63f62c5833c387ef23.tar.zst
freebsd-ports-gnome-bd466a724e69956e3f7a8f63f62c5833c387ef23.zip
BROKEN on !i386: Does not compile
Diffstat (limited to 'devel/mingw-gcc')
-rw-r--r--devel/mingw-gcc/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/mingw-gcc/Makefile b/devel/mingw-gcc/Makefile
index ee3a20ef2d0b..9b64351b03a6 100644
--- a/devel/mingw-gcc/Makefile
+++ b/devel/mingw-gcc/Makefile
@@ -40,6 +40,12 @@ MAN1= cccp.1 \
i386-mingw32msvc-gcc.1
INFO= cpp g77 gcc
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's/install-libiberty//' ${WRKSRC}/Makefile.in
${REINPLACE_CMD} -E -e 's/([^x])str(error|signal).[co]/\1/g' \
@@ -63,4 +69,4 @@ post-install:
${STRIP_CMD} ${PREFIX}/bin/$${file}; \
done
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>