diff --git a/math/cgal/Makefile b/math/cgal/Makefile index b3accfdccb35..b8cef342a96f 100644 --- a/math/cgal/Makefile +++ b/math/cgal/Makefile @@ -1,40 +1,41 @@ # Created by: Jean-Yves Lefort # $FreeBSD$ PORTNAME= cgal PORTVERSION= 4.6 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://gforge.inria.fr/frs/download.php/34703/ DISTNAME= CGAL-${PORTVERSION} MAINTAINER= wen@FreeBSD.org COMMENT= Computational geometry library LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi BUILD_DEPENDS= ${LOCALBASE}/include/boost/tuple/tuple.hpp:${PORTSDIR}/devel/boost-libs RUN_DEPENDS= ${LOCALBASE}/include/boost/tuple/tuple.hpp:${PORTSDIR}/devel/boost-libs LIB_DEPENDS= libmpfr.so:${PORTSDIR}/math/mpfr \ libgmp.so:${PORTSDIR}/math/gmp USE_LDCONFIG= yes USES= cmake tar:bzip2 shebangfix USE_QT4= corelib qmake_build moc_build rcc_build uic_build svg CMAKE_ARGS= -DWITH_CGAL_Qt3=OFF SHEBANG_FILES= scripts/cgal_create_CMakeLists HAS_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= GUI OPTIONS_DEFAULT= GUI OPTIONS_SUB= yes GUI_DESC= Build libCGAL_ImageIO and libCGAL_Qt4 GUI_USE= GL=glu QT4=gui,opengl GUI_CMAKE_OFF= -DWITH_CGAL_Qt4=OFF -DWITH_CGAL_ImageIO=OFF post-install: ${INSTALL_MAN} ${WRKSRC}/auxiliary/cgal_create_cmake_script.1 ${STAGEDIR}${PREFIX}/man/man1/ .include diff --git a/math/cgal/files/patch-include_CGAL_Straight__skeleton_2_Straight_skeleton_builder_2_impl.h b/math/cgal/files/patch-include_CGAL_Straight__skeleton_2_Straight_skeleton_builder_2_impl.h new file mode 100644 index 000000000000..17aeede9dc54 --- /dev/null +++ b/math/cgal/files/patch-include_CGAL_Straight__skeleton_2_Straight_skeleton_builder_2_impl.h @@ -0,0 +1,16 @@ +--- include/CGAL/Straight_skeleton_2/Straight_skeleton_builder_2_impl.h.orig 2014-08-29 14:14:56 UTC ++++ include/CGAL/Straight_skeleton_2/Straight_skeleton_builder_2_impl.h +@@ -21,6 +21,13 @@ + + #include + #include ++ ++// Workaround for boost bug #11880 ++#include ++#if BOOST_VERSION == 106000 ++ #include ++#endif ++ + #include + #include +