https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292087

            Bug ID: 292087
           Summary: zig 0.15.2 STATIC build requires remove of -licu
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])

The recent upgrade to zig 0.15.2 removed the dependency on icu. The linking
when STATIC option is defined still has flags for icu and therefore fails.
Removal of these flags (as per patch below) fixes this issue.

diff --git a/lang/zig/Makefile b/lang/zig/Makefile
index 4e86abb5c846..81221e436e0b 100644
--- a/lang/zig/Makefile
+++ b/lang/zig/Makefile
@@ -34,7 +34,7 @@ STATIC_DESC=  sets ZIG_STATIC to avoid 800MiB LLVM runtime
dependency

 STATIC_RUN_DEPENDS_OFF=        llvm${_LLVM_VER}>=0:devel/llvm${_LLVM_VER}
 STATIC_CMAKE_BOOL=     ZIG_STATIC
-STATIC_LDFLAGS=                -licudata -licuuc -llzma -lm -lmd -lxml2 -lz
-lzstd
+STATIC_LDFLAGS=                -llzma -lm -lmd -lxml2 -lz -lzstd
 STATIC_LIB_DEPENDS+=   libxml2.so:textproc/libxml2

 _LLVM_VER=     20

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to