Date: Sun, 22 May 2022 20:17:41 GMT From: Dima Panov <fluffy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 32bfbcbbca3d - main - databases/foundationdb*: upbreak after boost upgrade (+) Message-ID: <202205222017.24MKHfW5092303@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=32bfbcbbca3d614080c3a15f0e7d2bce96586178 commit 32bfbcbbca3d614080c3a15f0e7d2bce96586178 Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2022-05-22 18:33:24 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2022-05-22 20:17:04 +0000 databases/foundationdb*: upbreak after boost upgrade (+) While here, replace hardcoded /usr/local by %%LOCALBASE%% macro PR: 246106 --- databases/foundationdb-devel/Makefile | 3 +++ .../patch-bindings_c_test_unit_third__party_CMakeLists.txt | 2 +- .../foundationdb-devel/files/patch-cmake_CompileBoost.cmake | 11 +++++++++++ databases/foundationdb/Makefile | 3 +++ .../patch-bindings_c_test_unit_third__party_CMakeLists.txt | 2 +- databases/foundationdb/files/patch-cmake_CompileBoost.cmake | 11 +++++++++++ 6 files changed, 30 insertions(+), 2 deletions(-) diff --git a/databases/foundationdb-devel/Makefile b/databases/foundationdb-devel/Makefile index dbc3d4697f33..6848e474e235 100644 --- a/databases/foundationdb-devel/Makefile +++ b/databases/foundationdb-devel/Makefile @@ -1,5 +1,6 @@ PORTNAME= foundationdb-devel DISTVERSION= 7.0.0 +PORTREVISION= 1 CATEGORIES= databases # PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/pull/ @@ -52,6 +53,8 @@ PLIST_SUB+= ${SUB_FDB} post-patch: ${REINPLACE_CMD} 's/OPENSSL_USE_STATIC_LIBS TRUE/OPENSSL_USE_STATIC_LIBS FALSE/' \ ${WRKSRC}/cmake/FDBComponents.cmake + ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' \ + ${WRKSRC}/bindings/c/test/unit/third_party/CMakeLists.txt do-install: # commands on first line, dev tools on next two diff --git a/databases/foundationdb-devel/files/patch-bindings_c_test_unit_third__party_CMakeLists.txt b/databases/foundationdb-devel/files/patch-bindings_c_test_unit_third__party_CMakeLists.txt index 4deeb8410767..23838e3972e5 100644 --- a/databases/foundationdb-devel/files/patch-bindings_c_test_unit_third__party_CMakeLists.txt +++ b/databases/foundationdb-devel/files/patch-bindings_c_test_unit_third__party_CMakeLists.txt @@ -19,4 +19,4 @@ - -ExternalProject_Get_Property(doctest source_dir) -set(DOCTEST_INCLUDE_DIR ${source_dir}/doctest CACHE INTERNAL "Path to include folder for doctest") -+set(DOCTEST_INCLUDE_DIR /usr/local/include/doctest CACHE INTERNAL "Path to include folder for doctest") ++set(DOCTEST_INCLUDE_DIR %%LOCALBASE%%/include/doctest CACHE INTERNAL "Path to include folder for doctest") diff --git a/databases/foundationdb-devel/files/patch-cmake_CompileBoost.cmake b/databases/foundationdb-devel/files/patch-cmake_CompileBoost.cmake new file mode 100644 index 000000000000..de9f48861488 --- /dev/null +++ b/databases/foundationdb-devel/files/patch-cmake_CompileBoost.cmake @@ -0,0 +1,11 @@ +--- cmake/CompileBoost.cmake.orig 2022-04-19 01:08:48 UTC ++++ cmake/CompileBoost.cmake +@@ -113,7 +113,7 @@ endif() + return() + endif() + +-find_package(Boost 1.72.0 EXACT QUIET COMPONENTS context CONFIG PATHS ${BOOST_HINT_PATHS}) ++find_package(Boost 1.72.0 COMPONENTS context CONFIG PATHS ${BOOST_HINT_PATHS}) + set(FORCE_BOOST_BUILD OFF CACHE BOOL "Forces cmake to build boost and ignores any installed boost") + + if(Boost_FOUND AND NOT FORCE_BOOST_BUILD) diff --git a/databases/foundationdb/Makefile b/databases/foundationdb/Makefile index fa05400cc7d0..08b8302dcee6 100644 --- a/databases/foundationdb/Makefile +++ b/databases/foundationdb/Makefile @@ -1,5 +1,6 @@ PORTNAME= foundationdb DISTVERSION= 7.0.0 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= dch@FreeBSD.org @@ -50,6 +51,8 @@ PLIST_SUB+= ${SUB_FDB} post-patch: ${REINPLACE_CMD} 's/OPENSSL_USE_STATIC_LIBS TRUE/OPENSSL_USE_STATIC_LIBS FALSE/' \ ${WRKSRC}/cmake/FDBComponents.cmake + ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' \ + ${WRKSRC}/bindings/c/test/unit/third_party/CMakeLists.txt do-install: # commands on first line, dev tools on next two diff --git a/databases/foundationdb/files/patch-bindings_c_test_unit_third__party_CMakeLists.txt b/databases/foundationdb/files/patch-bindings_c_test_unit_third__party_CMakeLists.txt index 4deeb8410767..23838e3972e5 100644 --- a/databases/foundationdb/files/patch-bindings_c_test_unit_third__party_CMakeLists.txt +++ b/databases/foundationdb/files/patch-bindings_c_test_unit_third__party_CMakeLists.txt @@ -19,4 +19,4 @@ - -ExternalProject_Get_Property(doctest source_dir) -set(DOCTEST_INCLUDE_DIR ${source_dir}/doctest CACHE INTERNAL "Path to include folder for doctest") -+set(DOCTEST_INCLUDE_DIR /usr/local/include/doctest CACHE INTERNAL "Path to include folder for doctest") ++set(DOCTEST_INCLUDE_DIR %%LOCALBASE%%/include/doctest CACHE INTERNAL "Path to include folder for doctest") diff --git a/databases/foundationdb/files/patch-cmake_CompileBoost.cmake b/databases/foundationdb/files/patch-cmake_CompileBoost.cmake new file mode 100644 index 000000000000..de9f48861488 --- /dev/null +++ b/databases/foundationdb/files/patch-cmake_CompileBoost.cmake @@ -0,0 +1,11 @@ +--- cmake/CompileBoost.cmake.orig 2022-04-19 01:08:48 UTC ++++ cmake/CompileBoost.cmake +@@ -113,7 +113,7 @@ endif() + return() + endif() + +-find_package(Boost 1.72.0 EXACT QUIET COMPONENTS context CONFIG PATHS ${BOOST_HINT_PATHS}) ++find_package(Boost 1.72.0 COMPONENTS context CONFIG PATHS ${BOOST_HINT_PATHS}) + set(FORCE_BOOST_BUILD OFF CACHE BOOL "Forces cmake to build boost and ignores any installed boost") + + if(Boost_FOUND AND NOT FORCE_BOOST_BUILD)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205222017.24MKHfW5092303>