diff --git a/math/oink/Makefile b/math/oink/Makefile index 0acc7592419d..38eefe3d4458 100644 --- a/math/oink/Makefile +++ b/math/oink/Makefile @@ -1,26 +1,27 @@ PORTNAME= oink DISTVERSION= g20210704 +PORTREVISION= 1 CATEGORIES= math PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/ PATCHFILES= cd8c62bc1900ffee6d933fa31cbdd954560c286b.patch:-p1 # Fix build on FreeBSD PATCHFILES+= a5c10784a472c42bab5a4df0ef29799011bc30b1.patch:-p1 # Fix installed cmake file path MAINTAINER= yuri@FreeBSD.org COMMENT= Modern parity game solvers written in C++ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs USES= cmake:testing USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= trolando GH_TAGNAME= c1259fe CMAKE_ON= BUILD_SHARED_LIBS .include diff --git a/math/oink/files/patch-CMakeLists.txt b/math/oink/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..eb04dfb8a137 --- /dev/null +++ b/math/oink/files/patch-CMakeLists.txt @@ -0,0 +1,10 @@ +--- CMakeLists.txt.orig 2021-12-26 00:23:48 UTC ++++ CMakeLists.txt +@@ -46,7 +46,6 @@ add_library(oink::oink ALIAS oink) + set_target_properties(oink PROPERTIES VERSION ${oink_VERSION} SOVERSION ${oink_VERSION_MAJOR}) + target_compile_features(oink PUBLIC c_std_11 cxx_std_11) + target_compile_options(oink PRIVATE -Wall -Wextra) +-target_compile_options(oink PRIVATE "$<$:-march=native>") + target_include_directories(oink + PRIVATE + ${CMAKE_CURRENT_LIST_DIR}/src