From 8bf9130c1ea32e80b083c19eb0ca0b158ae4d2ea Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Sun, 15 Jun 2014 14:08:52 +0000 Subject: [PATCH] mark as BROKEN on FreeBSD 10 only --- net/cyphesis/Makefile | 6 ++++-- net/cyphesis/files/patch-physics-BBox.cpp | 11 +++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 net/cyphesis/files/patch-physics-BBox.cpp diff --git a/net/cyphesis/Makefile b/net/cyphesis/Makefile index a7acd0f77457..db17fea4e64d 100644 --- a/net/cyphesis/Makefile +++ b/net/cyphesis/Makefile @@ -22,8 +22,6 @@ LIB_DEPENDS= libAtlas-0.6.so:${PORTSDIR}/devel/atlas-devel \ CONFIGURE_ARGS= --with-python=${LOCALBASE} -BROKEN= Does not compile with clang - GNU_CONFIGURE= yes USE_BZIP2= yes USES= gmake pathfix pkgconfig compiler:c++11-lib @@ -40,6 +38,10 @@ OPTIONS_DEFINE= DOCS .include +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 +BROKEN= Does not compile with clang +.endif + post-patch: @${REINPLACE_CMD} -e 's| install-dist_docDATA | |g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's| install-confbackupDATA | |g' \ diff --git a/net/cyphesis/files/patch-physics-BBox.cpp b/net/cyphesis/files/patch-physics-BBox.cpp new file mode 100644 index 000000000000..d7bb311100dd --- /dev/null +++ b/net/cyphesis/files/patch-physics-BBox.cpp @@ -0,0 +1,11 @@ +--- physics/BBox.cpp.orig 2014-06-15 17:53:14.000000000 +0200 ++++ physics/BBox.cpp 2014-06-15 17:51:40.000000000 +0200 +@@ -19,7 +19,7 @@ + #include "BBox.h" + + #include "common/const.h" +- ++#include + #include + #include +