summaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-06 23:24:07 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-06 23:24:07 +0000
commit8bc6631b6aaa67a6170332d189a29fdb1272757c (patch)
tree3a45c3a8dfdcc02592a64035372a9c34af586e4c /science
parentBROKEN on !i386 and !alpha: Does not compile (diff)
BROKEN on !i386 and !alpha: Does not compile
Notes
Notes: svn path=/head/; revision=103146
Diffstat (limited to 'science')
-rw-r--r--science/hdf/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/science/hdf/Makefile b/science/hdf/Makefile
index 9e50a0d2919a..00c7fef81d20 100644
--- a/science/hdf/Makefile
+++ b/science/hdf/Makefile
@@ -24,6 +24,12 @@ INSTALLS_SHLIB= yes
MAKE_ARGS= PREFIX="${PREFIX}" -j 2
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386" && ${ARCH} != "alpha"
+BROKEN= "Does not compile on !i386 and !alpha"
+.endif
+
post-patch:
${RM} -rf ${WRKSRC}/hdf/jpeg
${RM} -rf ${WRKSRC}/hdf/zlib
@@ -37,4 +43,4 @@ do-configure:
test: build
cd ${WRKSRC}; ${MAKE} test
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>