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: install into d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d122620ed943
branches:  trunk
changeset: 372995:d122620ed943
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Feb 04 12:12:12 2022 +0000

description:
wasi-compiler-rt: install into directory matching llvm's version number

Bump PKGREVISION.

diffstat:

 lang/wasi-compiler-rt/Makefile |  8 ++++----
 lang/wasi-compiler-rt/PLIST    |  4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (42 lines):

diff -r d575a5812229 -r d122620ed943 lang/wasi-compiler-rt/Makefile
--- a/lang/wasi-compiler-rt/Makefile    Fri Feb 04 12:08:48 2022 +0000
+++ b/lang/wasi-compiler-rt/Makefile    Fri Feb 04 12:12:12 2022 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.10 2022/02/04 11:01:22 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2022/02/04 12:12:12 wiz Exp $
 
 .include "../../lang/llvm/version.mk"
 
 DISTNAME=      compiler-rt-${LLVM_VERSION}.src
 PKGNAME=       ${DISTNAME:S/.src//:S/compiler-rt-/wasi-compiler-rt-/}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    lang devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -56,7 +56,7 @@
 CMAKE_ARGS+=   -DCMAKE_C_COMPILER_WORKS=1 # Do not test clang compile
 CMAKE_ARGS+=   -DCMAKE_CXX_COMPILER_WORKS=1 # Do not test clang++ compile
 
-CMAKE_INSTALL_PREFIX=  ${PREFIX}/lib/clang/13.0.0
+CMAKE_INSTALL_PREFIX=  ${PREFIX}/lib/clang/${PKGVERSION_NOREV}
 
 post-extract:
        ${MKDIR} ${WRKDIR}/build
@@ -66,7 +66,7 @@
 # problem in this package?
 post-install:
        ${PREFIX}/bin/llvm-ranlib \
-         ${DESTDIR}${PREFIX}/lib/clang/13.0.0/lib/wasi/libclang_rt.builtins-wasm32.a
+         ${DESTDIR}${PREFIX}/lib/clang/${PKGVERSION_NOREV}/lib/wasi/libclang_rt.builtins-wasm32.a
 
 .include "../../mk/bsd.prefs.mk"
 
diff -r d575a5812229 -r d122620ed943 lang/wasi-compiler-rt/PLIST
--- a/lang/wasi-compiler-rt/PLIST       Fri Feb 04 12:08:48 2022 +0000
+++ b/lang/wasi-compiler-rt/PLIST       Fri Feb 04 12:12:12 2022 +0000
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2021/12/19 14:05:53 ryoon Exp $
-lib/clang/13.0.0/lib/wasi/libclang_rt.builtins-wasm32.a
+@comment $NetBSD: PLIST,v 1.2 2022/02/04 12:12:12 wiz Exp $
+lib/clang/${PKGVERSION}/lib/wasi/libclang_rt.builtins-wasm32.a



Home | Main Index | Thread Index | Old Index