aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2006-07-03 22:22:09 +0000
committerMark Linimon <linimon@FreeBSD.org>2006-07-03 22:22:09 +0000
commitba8be9a92fc9d382a311a70a53f0f1ef316c4eb6 (patch)
tree771004ba5cc696fdbb1bc3918b741f79e68f54fd /biology
parentc8126da8b7b0864d81cd5d4e2347d6db9ca4ec1f (diff)
downloadports-ba8be9a92fc9d382a311a70a53f0f1ef316c4eb6.tar.gz
ports-ba8be9a92fc9d382a311a70a53f0f1ef316c4eb6.zip
Notes
Diffstat (limited to 'biology')
-rw-r--r--biology/xdrawchem/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/biology/xdrawchem/Makefile b/biology/xdrawchem/Makefile
index 097273516e6b..3fe6f3d62af0 100644
--- a/biology/xdrawchem/Makefile
+++ b/biology/xdrawchem/Makefile
@@ -30,10 +30,16 @@ CONFIGURE_ENV= QTINCDIR="${X11BASE}/include" \
MAKE_ARGS+= LDFLAGS+="-lqt-mt ${PTHREAD_LIBS}"
+.include <bsd.port.pre.mk>
+
+.if ${ARCH}==sparc64
+BROKEN= does not compile on ${ARCH}
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's|malloc\.h|stdlib.h|g' ${WRKSRC}/xdrawchem/application_ob.cpp
@${REINPLACE_CMD} -e \
's|lround|(long int)rint|g' ${WRKSRC}/xdrawchem/*.cpp
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>