summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2021-09-12 18:51:50 +0000
committergutteridge <gutteridge@pkgsrc.org>2021-09-12 18:51:50 +0000
commitf921fddd1da12aefc9b8acb6881dfbfc76eb6886 (patch)
tree1713852f31c54b2a7d5390770040c87e10e3643c
parent82e2d4a90adfca13875f39af48d1994ef9421ffc (diff)
downloadpkgsrc-f921fddd1da12aefc9b8acb6881dfbfc76eb6886.tar.gz
rust-bin: fix Linux packaging after version update
-rw-r--r--lang/rust-bin/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/rust-bin/Makefile b/lang/rust-bin/Makefile
index 4022a5f2943..7c77a3b5b67 100644
--- a/lang/rust-bin/Makefile
+++ b/lang/rust-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2021/09/11 08:38:44 nia Exp $
+# $NetBSD: Makefile,v 1.29 2021/09/12 18:51:50 gutteridge Exp $
DISTNAME= rust-1.54.0
PKGNAME= ${DISTNAME:S/rust/rust-bin/1}
@@ -214,7 +214,8 @@ fix-relative-rpath:
# Only Linux builds link these binaries against an LLVM library
. if ${OPSYS} == "Linux"
. for bin in llc llvm-ar llvm-as llvm-cov llvm-dis llvm-nm llvm-objcopy \
- llvm-objdump llvm-profdata llvm-readobj llvm-size llvm-strip opt rust-lld
+ llvm-objdump llvm-profdata llvm-readobj llvm-size llvm-strip opt \
+ rust-lld gcc-ld/rust-lld
${PREFIX}/bin/patchelf ${FORCE_RPATH} --set-rpath ${RUST_LLVM_RPATH} \
${DESTDIR}${PREFIX}/lib/rustlib/${RUST_ARCH}/bin/${bin}
. endfor