Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust-bin urst-bin: Correct sense of condition



details:   https://anonhg.NetBSD.org/pkgsrc/rev/719625090262
branches:  trunk
changeset: 435800:719625090262
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jul 15 15:13:57 2020 +0000

description:
urst-bin: Correct sense of condition

diffstat:

 lang/rust-bin/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 70127297de78 -r 719625090262 lang/rust-bin/Makefile
--- a/lang/rust-bin/Makefile    Wed Jul 15 15:07:16 2020 +0000
+++ b/lang/rust-bin/Makefile    Wed Jul 15 15:13:57 2020 +0000
@@ -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 @@
 .  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



Home | Main Index | Thread Index | Old Index