summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-18 12:39:12 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-18 12:39:12 +0000
commit967f8d5c2bd9b8c9e0ed233598ea2768b598e4ae (patch)
treea68bc11373f813d5d982c922ff2a4b02024f8655 /math
parentBROKEN on !i386: Does not compile (diff)
BROKEN on amd64 and ia64: Does not compile
Notes
Notes: svn path=/head/; revision=104450
Diffstat (limited to 'math')
-rw-r--r--math/it++/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/it++/Makefile b/math/it++/Makefile
index a97308b768bc..ec900b24b50c 100644
--- a/math/it++/Makefile
+++ b/math/it++/Makefile
@@ -24,6 +24,12 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS= opt
USE_GMAKE= yes
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+BROKEN= "Does not compile on amd64 or ia64"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|sparc|__sparc__|" \
-e "s|alpha|__alpha__|" ${WRKSRC}/include/base/machdep.h
@@ -34,4 +40,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lib/libit++.a ${PREFIX}/lib
${CP} -R ${WRKSRC}/include ${PREFIX}/include/it++
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>