aboutsummaryrefslogtreecommitdiff
path: root/textproc/archmage
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2005-03-26 21:32:03 +0000
committerKris Kennaway <kris@FreeBSD.org>2005-03-26 21:32:03 +0000
commit57661c609118213fc24de3fdaa10a7a27d64df40 (patch)
tree283003df38e854c202aef802db0995d1d512c820 /textproc/archmage
parenta5232f80563024656ce9b4a723fa62f31bfe118c (diff)
downloadports-57661c609118213fc24de3fdaa10a7a27d64df40.tar.gz
ports-57661c609118213fc24de3fdaa10a7a27d64df40.zip
BROKEN on !i386: Does not compile
Approved by: portmgr (self)
Notes
Notes: svn path=/head/; revision=132013
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>