diff options
author | Nuno Teixeira <eduardo@FreeBSD.org> | 2023-02-13 13:54:37 +0000 |
---|---|---|
committer | Nuno Teixeira <eduardo@FreeBSD.org> | 2023-02-13 13:59:05 +0000 |
commit | 6b71ba2be26e32a072db2793f296009c0e9b26bf (patch) | |
tree | 86c49991fc19aa3086229ac36d25170e40efcd89 | |
parent | 7202f2c383543ddd75986be07a800562e74d76c4 (diff) | |
download | ports-6b71ba2be26e32a072db2793f296009c0e9b26bf.tar.gz ports-6b71ba2be26e32a072db2793f296009c0e9b26bf.zip |
devel/binaryen: Adopt/Update to 112
- Add TEST option (build/install unittest program)
- Use c++17 standard requirement
ChangeLog: https://github.com/WebAssembly/binaryen/blob/main/CHANGELOG.md
-rw-r--r-- | devel/binaryen/Makefile | 13 | ||||
-rw-r--r-- | devel/binaryen/distinfo | 8 | ||||
-rw-r--r-- | devel/binaryen/pkg-plist | 1 |
3 files changed, 13 insertions, 9 deletions
diff --git a/devel/binaryen/Makefile b/devel/binaryen/Makefile index cbdd50944d96..023220c06f5e 100644 --- a/devel/binaryen/Makefile +++ b/devel/binaryen/Makefile @@ -1,24 +1,25 @@ PORTNAME= binaryen DISTVERSIONPREFIX= version_ -DISTVERSION= 105 +DISTVERSION= 112 CATEGORIES= devel -MAINTAINER= ports@FreeBSD.org +MAINTAINER= eduardo@FreeBSD.org COMMENT= Compiler infrastructure and toolchain library for WebAssembly WWW= https://github.com/WebAssembly/binaryen LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake cpe python:3.6+,build compiler:c++11-lang +USES= cmake compiler:c++17-lang cpe python:build CPE_VENDOR= webassembly USE_GITHUB= yes GH_ACCOUNT= WebAssembly USE_LDCONFIG= yes -CMAKE_ARGS= -DBINARYEN_VERSION_INFO=${DISTVERSION} -LDFLAGS+= -Wno-unused-command-line-argument +OPTIONS_DEFINE= TEST +OPTIONS_SUB= yes -BINARY_ALIAS= python3=${PYTHON_CMD} +TEST_CMAKE_BOOL= BUILD_TESTS +TEST_GH_TUPLE= google:googletest:e2239ee:googletest/third_party/googletest .include <bsd.port.mk> diff --git a/devel/binaryen/distinfo b/devel/binaryen/distinfo index 8b27aee4c7ed..f44dcf1b3879 100644 --- a/devel/binaryen/distinfo +++ b/devel/binaryen/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1643366514 -SHA256 (WebAssembly-binaryen-version_105_GH0.tar.gz) = c5ec27c157d3b33ce4360607cc6afe565fa490094237895db2162b3a7d667da2 -SIZE (WebAssembly-binaryen-version_105_GH0.tar.gz) = 4044314 +TIMESTAMP = 1676293602 +SHA256 (WebAssembly-binaryen-version_112_GH0.tar.gz) = 815cb5be322d97829b38ba246c1a657c227e9eea6bfab74cdf0e542c9e5220f8 +SIZE (WebAssembly-binaryen-version_112_GH0.tar.gz) = 4424435 +SHA256 (google-googletest-e2239ee_GH0.tar.gz) = 47a8ca2e1be737588628cbc82726a7c4fed060ae0098709003845e3ef298da2f +SIZE (google-googletest-e2239ee_GH0.tar.gz) = 886254 diff --git a/devel/binaryen/pkg-plist b/devel/binaryen/pkg-plist index d9af9319bf0c..35714977a9cc 100644 --- a/devel/binaryen/pkg-plist +++ b/devel/binaryen/pkg-plist @@ -1,3 +1,4 @@ +%%TEST%%bin/binaryen-unittests bin/wasm-as bin/wasm-ctor-eval bin/wasm-dis |