summaryrefslogtreecommitdiff
path: root/lang/rust-bin
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-07-15 15:13:57 +0000
committernia <nia@pkgsrc.org>2020-07-15 15:13:57 +0000
commit1dd88317a87ed925aeffcc54ebf735d87cedecf1 (patch)
tree255de279b30cd5e19399d37888359d12896520ca /lang/rust-bin
parent087a7d7f513693aeca158a59152b1a19740afe7e (diff)
downloadpkgsrc-1dd88317a87ed925aeffcc54ebf735d87cedecf1.tar.gz
urst-bin: Correct sense of condition
Diffstat (limited to 'lang/rust-bin')
-rw-r--r--lang/rust-bin/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/rust-bin/Makefile b/lang/rust-bin/Makefile
index 33705891a04..9705211e4e2 100644
--- a/lang/rust-bin/Makefile
+++ b/lang/rust-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2020/06/14 15:33:28 nia Exp $
+# $NetBSD: Makefile,v 1.10 2020/07/15 15:13:57 nia Exp $
DISTNAME= rust-1.44.0
PKGNAME= ${DISTNAME:S/rust/rust-bin/1}
@@ -151,7 +151,7 @@ fix-relative-rpath:
. endfor
. for bin in llvm-ar llvm-nm llvm-objcopy llvm-objdump llvm-profdata \
llvm-readobj llvm-size llvm-strip
- if [ -f ${DESTDIR}${PREFIX}/bin/${bin} ]; then \
+ if [ -f ${DESTDIR}${PREFIX}/lib/rustlib/${RUST_ARCH}/bin/${bin} ]; then \
${PREFIX}/bin/patchelf ${FORCE_RPATH} --set-rpath ${RUST_LLVM_RPATH} \
${DESTDIR}${PREFIX}/lib/rustlib/${RUST_ARCH}/bin/${bin} \
; fi