Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2023 13:59:33 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6b71ba2be26e - main - devel/binaryen: Adopt/Update to 112
Message-ID:  <202302131359.31DDxXrU038439@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6b71ba2be26e32a072db2793f296009c0e9b26bf

commit 6b71ba2be26e32a072db2793f296009c0e9b26bf
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-02-13 13:54:37 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-02-13 13:59:05 +0000

    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
---
 devel/binaryen/Makefile  | 13 +++++++------
 devel/binaryen/distinfo  |  8 +++++---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302131359.31DDxXrU038439>