git: cca2c4f5e293 - main - devel/binaryen: Update to 117
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 28 Feb 2024 09:13:56 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=cca2c4f5e29366b591e1e2e6aa93f327201ed80e commit cca2c4f5e29366b591e1e2e6aa93f327201ed80e Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2024-02-28 09:10:45 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2024-02-28 09:13:44 +0000 devel/binaryen: Update to 117 - Drop USES=compiler - Use devel/googletest port instead of local copy for tests ChangeLog: https://github.com/WebAssembly/binaryen/blob/version_117/CHANGELOG.md --- devel/binaryen/Makefile | 6 +++--- devel/binaryen/distinfo | 8 +++----- devel/binaryen/files/patch-third__party_CMakeLists.txt | 18 ++++++++++++++++++ 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/devel/binaryen/Makefile b/devel/binaryen/Makefile index 0d439d2f94a0..823cd2737639 100644 --- a/devel/binaryen/Makefile +++ b/devel/binaryen/Makefile @@ -1,6 +1,6 @@ PORTNAME= binaryen DISTVERSIONPREFIX= version_ -DISTVERSION= 116 +DISTVERSION= 117 CATEGORIES= devel MAINTAINER= eduardo@FreeBSD.org @@ -10,7 +10,7 @@ WWW= https://github.com/WebAssembly/binaryen LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake compiler:c++17-lang cpe python:build +USES= cmake cpe localbase:ldflags python:build CPE_VENDOR= webassembly USE_GITHUB= yes GH_ACCOUNT= WebAssembly @@ -19,8 +19,8 @@ USE_LDCONFIG= yes OPTIONS_DEFINE= TEST OPTIONS_SUB= yes +TEST_LIB_DEPENDS= libgtest.so:devel/googletest TEST_CMAKE_BOOL= BUILD_TESTS -TEST_GH_TUPLE= google:googletest:e2239ee:googletest/third_party/googletest do-test-TEST-on: binaryen-unittests diff --git a/devel/binaryen/distinfo b/devel/binaryen/distinfo index 5a5c89fb1f39..ae5317798b99 100644 --- a/devel/binaryen/distinfo +++ b/devel/binaryen/distinfo @@ -1,5 +1,3 @@ -TIMESTAMP = 1694802870 -SHA256 (WebAssembly-binaryen-version_116_GH0.tar.gz) = 049fa39dedac7fbdba661be77d719223807ba0670f5da79e75aa85d88fedc8a9 -SIZE (WebAssembly-binaryen-version_116_GH0.tar.gz) = 4792263 -SHA256 (google-googletest-e2239ee_GH0.tar.gz) = 47a8ca2e1be737588628cbc82726a7c4fed060ae0098709003845e3ef298da2f -SIZE (google-googletest-e2239ee_GH0.tar.gz) = 886254 +TIMESTAMP = 1709108795 +SHA256 (WebAssembly-binaryen-version_117_GH0.tar.gz) = 9acf7cc5be94bcd16bebfb93a1f5ac6be10e0995a33e1981dd7c404dafe83387 +SIZE (WebAssembly-binaryen-version_117_GH0.tar.gz) = 4979281 diff --git a/devel/binaryen/files/patch-third__party_CMakeLists.txt b/devel/binaryen/files/patch-third__party_CMakeLists.txt new file mode 100644 index 000000000000..1b93ea866abe --- /dev/null +++ b/devel/binaryen/files/patch-third__party_CMakeLists.txt @@ -0,0 +1,18 @@ +Don't attempt to build a local copy of GoogleTest. + +--- third_party/CMakeLists.txt.orig 2023-09-14 17:41:15 UTC ++++ third_party/CMakeLists.txt +@@ -1,13 +1,3 @@ endif() + if(BUILD_LLVM_DWARF) + add_subdirectory(llvm-project) + endif() +- +-include_directories( +- googletest/googletest +- googletest/googletest/include +-) +- +-if(BUILD_TESTS) +- add_library(gtest STATIC googletest/googletest/src/gtest-all.cc) +- add_library(gtest_main STATIC googletest/googletest/src/gtest_main.cc) +-endif()