diff --git a/databases/sfcgal/Makefile b/databases/sfcgal/Makefile index 2b04d9a8ce2e..9e463fa0e2e3 100644 --- a/databases/sfcgal/Makefile +++ b/databases/sfcgal/Makefile @@ -1,32 +1,32 @@ PORTNAME= sfcgal DISTVERSIONPREFIX= v DISTVERSION= 2.1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases math graphics MASTER_SITES= https://github.com/CGAL/cgal/releases/download/v${CGAL_VERSION}/:source1 DISTFILES= CGAL-${CGAL_VERSION}.tar.xz:source1 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Wrapper library around CGAL for PostGIS WWW= https://oslandia.gitlab.io/SFCGAL/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= libboost_system.so:devel/boost-libs \ +LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr USES= cmake compiler:c++14-lang USE_GITLAB= yes GL_ACCOUNT= SFCGAL GL_PROJECT= SFCGAL USE_LDCONFIG= yes PLIST_SUB= SHL3=${PORTVERSION} SHL1=${PORTVERSION:R:R} DEBUG_SUFFIX=${WITH_DEBUG:Dd} CGAL_VERSION= 6.0.1 CMAKE_ARGS+= -DCGAL_DIR=${WRKDIR}/CGAL-${CGAL_VERSION} .include diff --git a/databases/sfcgal/files/patch-CMakeLists.txt b/databases/sfcgal/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..9cf1c40f81ad --- /dev/null +++ b/databases/sfcgal/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2025-08-01 21:31:20 UTC ++++ CMakeLists.txt +@@ -122,7 +122,7 @@ endif() + endif() + + #-- minimalist build allowed with boost version older than 1.48 +-set( SFCGAL_Boost_COMPONENTS thread system serialization ) ++set( SFCGAL_Boost_COMPONENTS thread serialization ) + #-- program_options + if ( SFCGAL_BUILD_TESTS OR SFCGAL_BUILD_EXAMPLES OR SFCGAL_BUILD_OSG ) + set( SFCGAL_Boost_COMPONENTS chrono unit_test_framework filesystem program_options timer ${SFCGAL_Boost_COMPONENTS} )