diff --git a/graphics/geos/Makefile b/graphics/geos/Makefile index 62e9ec883bed..fe44cd9d405d 100644 --- a/graphics/geos/Makefile +++ b/graphics/geos/Makefile @@ -1,23 +1,25 @@ PORTNAME= geos PORTVERSION= 3.13.0 CATEGORIES= graphics geography MASTER_SITES= https://github.com/libgeos/geos/releases/download/${PORTVERSION}/ \ https://download.osgeo.org/geos/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Geometry Engine, Open Source WWW= https://libgeos.org/ \ https://github.com/libgeos/geos LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING -USES= cmake compiler:c++14-lang pathfix tar:bzip2 +USES= cmake:testing compiler:c++14-lang pathfix tar:bzip2 -CMAKE_OFF= BUILD_BENCHMARKS DISABLE_GEOS_INLINE +CMAKE_OFF= BUILD_BENCHMARKS \ + BUILD_TESTING \ + DISABLE_GEOS_INLINE CMAKE_ON= BUILD_SHARED_LIBS USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} .include diff --git a/graphics/geos/files/patch-CMakeLists.txt b/graphics/geos/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..ead3fac57d52 --- /dev/null +++ b/graphics/geos/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2024-12-07 16:18:30 UTC ++++ CMakeLists.txt +@@ -215,7 +215,7 @@ target_compile_options(geos_cxx_flags INTERFACE + #----------------------------------------------------------------------------- + + target_compile_options(geos_cxx_flags INTERFACE +- "$<$,$>:-ffp-contract=off>" ++ "$<$,$>:-ffp-model=strict>" + "$<$:-ffp-contract=off>" + "$<$:/fp:precise>" + )