From 57661c609118213fc24de3fdaa10a7a27d64df40 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sat, 26 Mar 2005 21:32:03 +0000 Subject: [PATCH] BROKEN on !i386: Does not compile Approved by: portmgr (self) --- textproc/archmage/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/textproc/archmage/Makefile b/textproc/archmage/Makefile index 8d5d7ae2d234..0348bf6099e7 100644 --- a/textproc/archmage/Makefile +++ b/textproc/archmage/Makefile @@ -24,6 +24,12 @@ PYDISTUTILS_INSTALLARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib \ install -c -O1 --prefix=${PREFIX} USE_REINPLACE= yes +.include + +.if ${ARCH} != "i386" +BROKEN= "Does not compile on !i386" +.endif + post-patch: @${REINPLACE_CMD} -e "s,/usr/share,${PREFIX}/share," ${WRKSRC}/arch.conf @${REINPLACE_CMD} -e "s,/etc/arch\.conf,${PREFIX}/etc/arch\.conf," ${WRKSRC}/CHM.py @@ -37,4 +43,4 @@ post-patch: post-install: @${ECHO} "archmage" > ${PYTHON_SITELIBDIR}/archmage.pth -.include +.include