summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/migemo/Makefile8
-rw-r--r--security/opensc/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/japanese/migemo/Makefile b/japanese/migemo/Makefile
index 54fac33..72c764d 100644
--- a/japanese/migemo/Makefile
+++ b/japanese/migemo/Makefile
@@ -28,9 +28,15 @@ RUN_DEPENDS+= ${RUBY_SITELIBDIR}/romkan.rb:${PORTSDIR}/japanese/ruby-romkan \
CONFIGURE_ARGS+=--with-rubydir=${RUBY_SITELIBDIR}
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386" && ${ARCH} != "sparc64"
+BROKEN= "Does not compile on !i386 and !sparc64"
+.endif
+
post-install:
.if defined(EMACS_PORT_NAME)
@${CAT} ${PKGMESSAGE}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/security/opensc/Makefile b/security/opensc/Makefile
index d7f74cb..d3aef2c 100644
--- a/security/opensc/Makefile
+++ b/security/opensc/Makefile
@@ -71,4 +71,10 @@ CONFIGURE_ARGS+= --enable-usbtoken
CONFIGURE_ARGS+= --with-plugin-dir=${X11BASE}/lib/mozilla/plugins
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386" && ${ARCH} != "sparc64"
+BROKEN= "Does not compile on !i386 and !sparc64"
+.endif
+
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud