aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/archmage
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-03-27 05:32:03 +0800
committerkris <kris@FreeBSD.org>2005-03-27 05:32:03 +0800
commit654b57c184507481f5d21d1f50fbe89f877dabfa (patch)
treebd283c141d28d1b1c936ddea9ac32e77fa584425 /textproc/archmage
parentc4d7d66612cd119a8c32a29239478fc65528107f (diff)
downloadfreebsd-ports-gnome-654b57c184507481f5d21d1f50fbe89f877dabfa.tar.gz
freebsd-ports-gnome-654b57c184507481f5d21d1f50fbe89f877dabfa.tar.zst
freebsd-ports-gnome-654b57c184507481f5d21d1f50fbe89f877dabfa.zip
BROKEN on !i386: Does not compile
Approved by: portmgr (self)
Diffstat (limited to 'textproc/archmage')
-rw-r--r--textproc/archmage/Makefile8
1 files changed, 7 insertions, 1 deletions
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>