summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-02-23 05:02:04 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-02-23 05:02:04 +0000
commitfd241a2593d663eacef95f693ad12a9de63c7bf4 (patch)
tree5120f87efec13c588336818aee9760b8f5a62f5b /math
parentBROKEN: Does not compile on !i386 (diff)
BROKEN on !i386: Does not compile
Notes
Notes: svn path=/head/; revision=101815
Diffstat (limited to 'math')
-rw-r--r--math/ruby-math3d/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/ruby-math3d/Makefile b/math/ruby-math3d/Makefile
index 69f130bfdd97..d34da2b015da 100644
--- a/math/ruby-math3d/Makefile
+++ b/math/ruby-math3d/Makefile
@@ -20,6 +20,12 @@ USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
pre-patch:
cd ${WRKSRC}; ${RUBY} -i -pe 'sub(/\r/, "")' *.[ch]
@@ -30,4 +36,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/manual.jis ${RUBY_MODDOCDIR}/ja/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>