pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/rust



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Jul 23 05:15:37 UTC 2024

Modified Files:
        pkgsrc/lang/rust: do-cross.mk

Log Message:
rust: do-cross is standalone, so ${ECHO} is not defined.

Use echo again, contrary to pkglint's recommendation.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/rust/do-cross.mk

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/do-cross.mk
diff -u pkgsrc/lang/rust/do-cross.mk:1.10 pkgsrc/lang/rust/do-cross.mk:1.11
--- pkgsrc/lang/rust/do-cross.mk:1.10   Mon Jul 15 03:32:23 2024
+++ pkgsrc/lang/rust/do-cross.mk        Tue Jul 23 05:15:37 2024
@@ -1,4 +1,4 @@
-# $NetBSD: do-cross.mk,v 1.10 2024/07/15 03:32:23 wiz Exp $
+# $NetBSD: do-cross.mk,v 1.11 2024/07/23 05:15:37 wiz Exp $
 # Do all the NetBSD cross builds
 # Collect the bootstrap kits in dist/
 
@@ -77,7 +77,7 @@ CA.${st}+=--set=target.${TGT.${st}}.link
 CA.${st}+=--set=target.${TGT.${st}}.ar=${ROOT.${st}}/tools/bin/${G_TGT.${st}}-ar
 do-${st}:
        mkdir -p dist
-       @${ECHO} "=======> Cross-building rust for ${st}"
+       @echo "=======> Cross-building rust for ${st}"
        ${DEBUG} make -f Makefile clean
        ${DEBUG} env \
                CROSS_ROOT=${ROOT.${st}} \
@@ -95,13 +95,13 @@ do-${st}:
                src=$${distdir}/$${comp}-${V_NOREV}-${TGT.${st}}.tar.xz; \
                tgt=dist/$${comp}-${VERSION}-$${TT}.tar.xz; \
                if [ ! -f "$${tgt}" ]; then \
-                       ${ECHO} ln $${src} $${tgt}; \
+                       echo ln $${src} $${tgt}; \
                        ${DEBUG} ln $${src} $${tgt}; \
                fi; \
        done; \
        src_comp=rust-src-${V_NOREV}.tar.xz; \
        if [ ! -f dist/$${src_comp} ]; then \
-               ${ECHO} ln $${distdir}/$${src_comp} dist; \
+               echo ln $${distdir}/$${src_comp} dist; \
                ${DEBUG} ln $${distdir}/$${src_comp} dist; \
        fi
 .endfor



Home | Main Index | Thread Index | Old Index