pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/rust-bin



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jul 15 15:13:57 UTC 2020

Modified Files:
        pkgsrc/lang/rust-bin: Makefile

Log Message:
urst-bin: Correct sense of condition


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/rust-bin/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/rust-bin/Makefile
diff -u pkgsrc/lang/rust-bin/Makefile:1.9 pkgsrc/lang/rust-bin/Makefile:1.10
--- pkgsrc/lang/rust-bin/Makefile:1.9   Sun Jun 14 15:33:28 2020
+++ pkgsrc/lang/rust-bin/Makefile       Wed Jul 15 15:13:57 2020
@@ -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



Home | Main Index | Thread Index | Old Index