FreeBSD Bugzilla – Attachment 251310 Details for
Bug 279604
lang/zig: fix STATIC and no DOCS build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix lang/zig static and no docs building on my poudriere environment
0001-lang-zig-fix-static-build.patch (text/plain), 1.36 KB, created by
Jeroen Ruigrok van der Werven
on 2024-06-09 09:09:09 UTC
(
hide
)
Description:
Patch to fix lang/zig static and no docs building on my poudriere environment
Filename:
MIME Type:
Creator:
Jeroen Ruigrok van der Werven
Created:
2024-06-09 09:09:09 UTC
Size:
1.36 KB
patch
obsolete
>From f4f0c0fe69e97c7f46a105451419e3c36acd962e Mon Sep 17 00:00:00 2001 >From: Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org> >Date: Sun, 9 Jun 2024 10:49:21 +0200 >Subject: [PATCH] lang/zig: fix static build > >--- > lang/zig/Makefile | 2 ++ > lang/zig/pkg-plist | 2 +- > 2 files changed, 3 insertions(+), 1 deletion(-) > >diff --git a/lang/zig/Makefile b/lang/zig/Makefile >index bbec4d570bcb..bc885ce7d9ca 100644 >--- a/lang/zig/Makefile >+++ b/lang/zig/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= zig > DISTVERSION= 0.12.0 >+PORTREVISION= 1 > CATEGORIES= lang > MASTER_SITES= https://ziglang.org/download/${DISTVERSION}/ \ > https://ziglang.org/builds/ >@@ -35,6 +36,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_LIB_DEPENDS+= libxml2.so:textproc/libxml2 > > _LLVM_VER= 17 > _ZIG_BIN= ${STAGEDIR}${PREFIX}/bin/zig >diff --git a/lang/zig/pkg-plist b/lang/zig/pkg-plist >index 76e5a3d89bc7..26577e38757c 100644 >--- a/lang/zig/pkg-plist >+++ b/lang/zig/pkg-plist >@@ -5,7 +5,7 @@ > @dir lib/zig/std/compress/xz/testdata > @dir lib/zig/std/tar/testdata > @dir lib/zig/std/tz >-@dir %%DOCSDIR%%/std >+%%PORTDOCS%%@dir %%DOCSDIR%%/std > %%PORTDOCS%%%%DOCSDIR%%/index.html > %%PORTDOCS%%%%DOCSDIR%%/main.js > bin/zig >-- >2.39.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279604
: 251310 |
253829