aboutsummaryrefslogtreecommitdiffstats
path: root/biology/xdrawchem/Makefile
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2006-07-04 06:22:09 +0800
committerlinimon <linimon@FreeBSD.org>2006-07-04 06:22:09 +0800
commitc70df17bd66ddfc1cbbf4ba5917e7a7a4f32c2cc (patch)
tree57ef2d0c26b162d313358825e609145ff09557cb /biology/xdrawchem/Makefile
parent59579b189b5cbc679410e9c501402ff94cd51ef0 (diff)
downloadfreebsd-ports-gnome-c70df17bd66ddfc1cbbf4ba5917e7a7a4f32c2cc.tar.gz
freebsd-ports-gnome-c70df17bd66ddfc1cbbf4ba5917e7a7a4f32c2cc.tar.zst
freebsd-ports-gnome-c70df17bd66ddfc1cbbf4ba5917e7a7a4f32c2cc.zip
Mark as BROKEN on sparc64 due to internal compiler error.
Diffstat (limited to 'biology/xdrawchem/Makefile')
-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>