summaryrefslogtreecommitdiffstats
path: root/graphics/ayam
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ayam')
-rw-r--r--graphics/ayam/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/ayam/Makefile b/graphics/ayam/Makefile
index d7680c0..713b798 100644
--- a/graphics/ayam/Makefile
+++ b/graphics/ayam/Makefile
@@ -32,6 +32,12 @@ MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
AYAM_PLUGINS= csphere mfio
PLUGINS_DIR= ${PREFIX}/lib/${PORTNAME}
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "alpha"
+BROKEN= "Does not build on alpha"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/tcl/ayam.tcl
@${REINPLACE_CMD} -e 's|^MF3DCFLAGS =|MF3DCFLAGS = -fPIC|g' \
@@ -88,4 +94,4 @@ do-install:
${DOCSDIR}/html/pics
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud