forked from Lainports/freebsd-ports
graphics/geos: Add make test
- Add workaround for an unit test PR: 283183 Submitted by: Daniel Engberg <diizzy@FreeBSD.org> Reference: https://github.com/libgeos/geos/issues/1206
This commit is contained in:
parent
7be2a23e61
commit
53d2b997ab
2 changed files with 15 additions and 2 deletions
|
|
@ -12,9 +12,11 @@ WWW= https://libgeos.org/ \
|
|||
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
|
||||
|
||||
|
|
|
|||
11
graphics/geos/files/patch-CMakeLists.txt
Normal file
11
graphics/geos/files/patch-CMakeLists.txt
Normal file
|
|
@ -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
|
||||
- "$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-ffp-contract=off>"
|
||||
+ "$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-ffp-model=strict>"
|
||||
"$<$<CXX_COMPILER_ID:GNU>:-ffp-contract=off>"
|
||||
"$<$<BOOL:${MSVC}>:/fp:precise>"
|
||||
)
|
||||
Loading…
Add table
Reference in a new issue