pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/wasi-compiler-rt



Module Name:    pkgsrc
Committed By:   tnn
Date:           Fri Jan  7 20:24:40 UTC 2022

Modified Files:
        pkgsrc/lang/wasi-compiler-rt: Makefile

Log Message:
wasi-compiler-rt: apply band-aid for ranlib error in www/firefox


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/wasi-compiler-rt/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/wasi-compiler-rt/Makefile
diff -u pkgsrc/lang/wasi-compiler-rt/Makefile:1.7 pkgsrc/lang/wasi-compiler-rt/Makefile:1.8
--- pkgsrc/lang/wasi-compiler-rt/Makefile:1.7   Fri Jan  7 15:49:53 2022
+++ pkgsrc/lang/wasi-compiler-rt/Makefile       Fri Jan  7 20:24:39 2022
@@ -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 @@ CMAKE_INSTALL_PREFIX=        ${PREFIX}/lib/clan
 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