pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
emscripten: default cache is in install area, set it to $HOME/.cache
Module Name: pkgsrc-wip
Committed By: Mayuresh <mayuresh%warunjikar.in@localhost>
Pushed By: mayuresh
Date: Wed Jan 21 10:56:42 2026 +0530
Changeset: 9f46fef11dd60e5c94cfd127c1b739216d72227f
Modified Files:
emscripten/Makefile
emscripten/distinfo
Added Files:
emscripten/patches/patch-tools_config.py
Log Message:
emscripten: default cache is in install area, set it to $HOME/.cache
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9f46fef11dd60e5c94cfd127c1b739216d72227f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
emscripten/Makefile | 2 +-
emscripten/distinfo | 1 +
emscripten/patches/patch-tools_config.py | 16 ++++++++++++++++
3 files changed, 18 insertions(+), 1 deletion(-)
diffs:
diff --git a/emscripten/Makefile b/emscripten/Makefile
index e80789a49a..8af62c04bf 100644
--- a/emscripten/Makefile
+++ b/emscripten/Makefile
@@ -67,7 +67,7 @@ WRAPPER_SCRIPTS= emcc em++
do-install:
cd ${WRKSRC} && ${PAX} -rw em* cmake site src system third_party tools docs \
${DESTDIR}${PREFIX}/lib/${PKGBASE}/
- ${FIND} ${DESTDIR}${PREFIX}/lib/${PKGBASE} -name "*.bat" -delete
+ ${FIND} ${DESTDIR}${PREFIX}/lib/${PKGBASE} \( -name "*.bat" -o -name "*.orig" \) -delete
${CHMOD} -R g-w ${DESTDIR}${PREFIX}/lib/emscripten
${CHMOD} -x \
${DESTDIR}${PREFIX}/lib/emscripten/system/lib/libcxx/readme.txt \
diff --git a/emscripten/distinfo b/emscripten/distinfo
index f9dfe8f01b..9882b74690 100644
--- a/emscripten/distinfo
+++ b/emscripten/distinfo
@@ -3,3 +3,4 @@ $NetBSD$
BLAKE2s (emscripten/4.0.23.tar.gz) = 64eefbae7621ee02826e1fcf07d11a45b0e14c34311bf9f73912fb74ab09d2a9
SHA512 (emscripten/4.0.23.tar.gz) = 94636d393d2dd2e38b12292bc9ca3cd004efb81c47d509a61ec235f6e4338beee79ef0a69440b24b63ea9f4415108fb834e4fabf66067c4ff35831da504b55a3
Size (emscripten/4.0.23.tar.gz) = 34282527 bytes
+SHA1 (patch-tools_config.py) = 69dcdb50c52429d3140a2b236d5074d0b27ab560
diff --git a/emscripten/patches/patch-tools_config.py b/emscripten/patches/patch-tools_config.py
new file mode 100644
index 0000000000..c10893f5d2
--- /dev/null
+++ b/emscripten/patches/patch-tools_config.py
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Default cache is in install area. Known issue.
+https://github.com/emscripten-core/emscripten/issues/15374
+
+--- tools/config.py.orig 2026-01-21 05:22:06.504048502 +0000
++++ tools/config.py
+@@ -24,7 +24,7 @@ LLVM_ADD_VERSION = None
+ CLANG_ADD_VERSION = None
+ CLOSURE_COMPILER = None
+ FROZEN_CACHE = None
+-CACHE = None
++CACHE = os.environ['HOME'] + '/.cache'
+ PORTS = None
+ COMPILER_WRAPPER = None
+
Home |
Main Index |
Thread Index |
Old Index