aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libparsifal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/libparsifal/Makefile')
-rw-r--r--textproc/libparsifal/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/libparsifal/Makefile b/textproc/libparsifal/Makefile
index 6711b769425b..10f91668f74a 100644
--- a/textproc/libparsifal/Makefile
+++ b/textproc/libparsifal/Makefile
@@ -21,7 +21,13 @@ INSTALLS_SHLIB= yes
PLIST_SUB= VERSION=${PORTVERSION}
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386" && ${ARCH} != "sparc64"
+BROKEN= "Does not compile on !i386 and !sparc64"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's| -O3||g' ${WRKSRC}/src/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>