pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/wasi-compiler-rt wasi-compiler-rt: apply band-aid...
details: https://anonhg.NetBSD.org/pkgsrc/rev/72be93a5d0a3
branches: trunk
changeset: 371253:72be93a5d0a3
user: tnn <tnn%pkgsrc.org@localhost>
date: Fri Jan 07 20:24:39 2022 +0000
description:
wasi-compiler-rt: apply band-aid for ranlib error in www/firefox
diffstat:
lang/wasi-compiler-rt/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 87bc338302ee -r 72be93a5d0a3 lang/wasi-compiler-rt/Makefile
--- a/lang/wasi-compiler-rt/Makefile Fri Jan 07 19:50:57 2022 +0000
+++ b/lang/wasi-compiler-rt/Makefile Fri Jan 07 20:24:39 2022 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.7 2022/01/07 15:49:53 tnn Exp $
+# $NetBSD: Makefile,v 1.8 2022/01/07 20:24:39 tnn Exp $
.include "../../lang/llvm/version.mk"
DISTNAME= compiler-rt-${LLVM_VERSION}.src
PKGNAME= ${DISTNAME:S/.src//:S/compiler-rt-/wasi-compiler-rt-/}
+PKGREVISION= 1
CATEGORIES= lang devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -60,6 +61,13 @@
post-extract:
${MKDIR} ${WRKDIR}/build
+# Run llvm-ranlib again on the archive. Fixes mystery build failure
+# in Firefox due to missing index. Might be a MAKE_JOBS problem in
+# this package?
+post-install:
+ ${PREFIX}/bin/llvm-ranlib \
+ ${DESTDIR}${PREFIX}/lib/clang/${LLVM_VERSION}/lib/wasi/libclang_rt.builtins-wasm32.a
+
.include "../../mk/bsd.prefs.mk"
ABI= # 32
Home |
Main Index |
Thread Index |
Old Index