From f9b5468a4828e757356841988f64c245f3962388 Mon Sep 17 00:00:00 2001
From: Kris Kennaway <kris@FreeBSD.org>
Date: Sat, 6 Mar 2004 23:45:15 +0000
Subject: BROKEN on !i386 and !alpha: Does not compile due to included boehm-gc

---
 lang/gauche/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/lang/gauche/Makefile b/lang/gauche/Makefile
index 1b84e64d6dbd..0b634e9cc965 100644
--- a/lang/gauche/Makefile
+++ b/lang/gauche/Makefile
@@ -43,6 +43,12 @@ USE_REINPLACE=	yes
 INSTALLS_SHLIB=	yes
 INFO=		gauche-refe gauche-refj
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386" && ${ARCH} != "alpha"
+BROKEN=		"Does not compile on !i386 and !alpha (due to included boehm-gc)"
+.endif
+
 post-build:
 	${REINPLACE_CMD} 's/gauche-refj.  info/gauche-refj.info/' ${WRKSRC}/doc/gauche-refj.info
 
@@ -60,4 +66,4 @@ post-install:
 .endfor
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0