summaryrefslogtreecommitdiff
path: root/devel/binaryen
diff options
context:
space:
mode:
authorfcambus <fcambus@pkgsrc.org>2022-05-01 19:07:47 +0000
committerfcambus <fcambus@pkgsrc.org>2022-05-01 19:07:47 +0000
commit3e92e010ed76714dc8dd89f2db275d10876441a2 (patch)
tree47ee58019cc867636097d6ff5fa83a760bbe3e27 /devel/binaryen
parent66ba532abe924b1b0a4a720f846d65b54f9b0d99 (diff)
downloadpkgsrc-3e92e010ed76714dc8dd89f2db275d10876441a2.tar.gz
binaryen: update to 106.
v106 ---- - [wasm2js] Support exports of Globals (#4523) - MergeSimilarFunctions optimization pass (#4414) - Various wasm-ctor-eval improvements, including support for GC.
Diffstat (limited to 'devel/binaryen')
-rw-r--r--devel/binaryen/Makefile5
-rw-r--r--devel/binaryen/PLIST3
-rw-r--r--devel/binaryen/distinfo9
-rw-r--r--devel/binaryen/patches/patch-third__party_CMakeLists.txt23
4 files changed, 33 insertions, 7 deletions
diff --git a/devel/binaryen/Makefile b/devel/binaryen/Makefile
index 0ae30deb071..ae5f831ddc4 100644
--- a/devel/binaryen/Makefile
+++ b/devel/binaryen/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2022/01/13 09:10:29 fcambus Exp $
+# $NetBSD: Makefile,v 1.8 2022/05/01 19:07:47 fcambus Exp $
-VERSION= 105
+VERSION= 106
DISTNAME= binaryen-${VERSION}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=WebAssembly/}
@@ -20,5 +20,6 @@ CMAKE_ARGS+= -DENABLE_WERROR=OFF
PYTHON_FOR_BUILD_ONLY= yes
+.include "../../devel/googletest/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/binaryen/PLIST b/devel/binaryen/PLIST
index 28c2a886c15..67704dbac7e 100644
--- a/devel/binaryen/PLIST
+++ b/devel/binaryen/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.4 2021/12/04 12:37:06 fcambus Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/05/01 19:07:47 fcambus Exp $
+bin/binaryen-unittests
bin/wasm-as
bin/wasm-ctor-eval
bin/wasm-dis
diff --git a/devel/binaryen/distinfo b/devel/binaryen/distinfo
index 1ba7305a49c..eee850c025b 100644
--- a/devel/binaryen/distinfo
+++ b/devel/binaryen/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2022/01/13 09:10:29 fcambus Exp $
+$NetBSD: distinfo,v 1.10 2022/05/01 19:07:47 fcambus Exp $
-BLAKE2s (binaryen-105.tar.gz) = 466a3b506f2fbe59efa68f1cc73ae1db6524a81373fbf43fa64e1225ee658844
-SHA512 (binaryen-105.tar.gz) = 5b16551fab37c660900abeae49fb4e23abc0b61165d326ce4db23959a0eab640df0df03c5649c0bcd35a8515b959a7a9d78d1014c4ea6cb08da4ef48f715f702
-Size (binaryen-105.tar.gz) = 4044314 bytes
+BLAKE2s (binaryen-106.tar.gz) = 990139d67996f7d9456e279ea129c9354c2f8d4e49064ab161dd804837bd2c62
+SHA512 (binaryen-106.tar.gz) = ee95f2d6412aba0a610f6e95fc76d72120a0ef846b215096acbba6414e6597402024f119e37644758433b34c9641f904487bdfee1c179a0c49ce1b5d79a1c1fc
+Size (binaryen-106.tar.gz) = 4078232 bytes
+SHA1 (patch-third__party_CMakeLists.txt) = ca930c62cc5a12ad73e0b122bc9424ae9805fdb6
diff --git a/devel/binaryen/patches/patch-third__party_CMakeLists.txt b/devel/binaryen/patches/patch-third__party_CMakeLists.txt
new file mode 100644
index 00000000000..feaa15a86b7
--- /dev/null
+++ b/devel/binaryen/patches/patch-third__party_CMakeLists.txt
@@ -0,0 +1,23 @@
+$NetBSD: patch-third__party_CMakeLists.txt,v 1.1 2022/05/01 19:07:47 fcambus Exp $
+
+Don't attempt to build a local copy of GoogleTest.
+
+--- third_party/CMakeLists.txt.orig 2022-05-01 18:09:27.629306726 +0000
++++ third_party/CMakeLists.txt
+@@ -1,16 +1,3 @@
+ if(BUILD_LLVM_DWARF)
+ add_subdirectory(llvm-project)
+ endif()
+-
+-include_directories(
+- googletest/googletest
+- googletest/googletest/include
+-)
+-
+-add_library(gtest STATIC
+- googletest/googletest/src/gtest-all.cc
+-)
+-
+-add_library(gtest_main STATIC
+- googletest/googletest/src/gtest_main.cc
+-)