Hi,

an update for lang/binaryen version 113, a compiler/toolchain library for WebAssembly.

- update Makefile and distinfo for version 113
- update patches/patch-CMakeLists_txt (no more hardcoded optimizations)
- update pkg/PLIST

Build and tests OK on current/amd64.

Unless there's any objections, I'd like to take maintainership for this
port. I'm using it to build WebAssembly on OpenBSD.

Comments welcome and please commit if OK.

Laurent


Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/binaryen/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile	13 Feb 2023 22:44:04 -0000	1.7
+++ Makefile	21 Jun 2023 15:29:48 -0000
@@ -2,11 +2,13 @@ COMMENT =	WebAssembly compiler and toolc
 
 GH_ACCOUNT =	WebAssembly
 GH_PROJECT =	binaryen
-GH_TAGNAME =	version_112
+GH_TAGNAME =	version_113
 
 PKGNAME =	${DISTNAME:L:S/version_//}
 
 CATEGORIES =	lang
+
+MAINTAINER =	Laurent Cheylus <f...@free.fr>
 
 # Apache 2.0
 PERMIT_PACKAGE =	Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/binaryen/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo	13 Feb 2023 22:44:04 -0000	1.6
+++ distinfo	21 Jun 2023 15:29:48 -0000
@@ -1,2 +1,2 @@
-SHA256 (binaryen-version_112.tar.gz) = gVy1vjItl4KbOLokbBplfCJ+nupr+rdM3w5ULJ5SIPg=
-SIZE (binaryen-version_112.tar.gz) = 4424435
+SHA256 (binaryen-version_113.tar.gz) = 0sMuhVh66VABp4qHZeElVr4PqJZeLx+m/GIqouDEoz0=
+SIZE (binaryen-version_113.tar.gz) = 4702040
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: /cvs/ports/lang/binaryen/patches/patch-CMakeLists_txt,v
retrieving revision 1.3
diff -u -p -r1.3 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt	29 Jul 2022 22:12:35 -0000	1.3
+++ patches/patch-CMakeLists_txt	21 Jun 2023 15:29:48 -0000
@@ -1,23 +1,17 @@
-- Remove hardcoded optimizations.
 - Partially revert upstream commit b76d2fb1e5bb839249b25b7094db94219695f515,
   it breaks the build on OpenBSD.
 
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -283,15 +283,10 @@ else()
-   endif()
-   add_debug_compile_flag("-O0")
-   add_debug_compile_flag("-g3")
--  add_nondebug_compile_flag("-O2")
-   if(BYN_ENABLE_ASSERTIONS)
-     # On non-Debug builds cmake automatically defines NDEBUG, so we
+@@ -296,10 +296,6 @@ else()
      # explicitly undefine it:
      add_nondebug_compile_flag("-UNDEBUG")
--  endif()
+   endif()
 -  if(NOT APPLE AND NOT "${CMAKE_CXX_FLAGS}" MATCHES "-fsanitize")
 -    # This flag only applies to shared libraries so don't use add_link_flag
 -    set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
-   endif()
+-  endif()
  endif()
  
+ if(EMSCRIPTEN)
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/lang/binaryen/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST	16 May 2022 08:36:26 -0000	1.1.1.1
+++ pkg/PLIST	21 Jun 2023 15:29:48 -0000
@@ -4,6 +4,7 @@
 @bin bin/wasm-dis
 @bin bin/wasm-emscripten-finalize
 @bin bin/wasm-fuzz-types
+@bin bin/wasm-merge
 @bin bin/wasm-metadce
 @bin bin/wasm-opt
 @bin bin/wasm-reduce

Reply via email to