summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2020-08-14 11:04:59 +0000
committertnn <tnn@pkgsrc.org>2020-08-14 11:04:59 +0000
commitd83fe9deea7ef02c806fcf2dc287730b9ad2ddee (patch)
tree92023a829121f398f06c1ee7752ed23000463ec8 /textproc
parent23630f654e6222b433125ecdaebac1f5abcd4c8a (diff)
downloadpkgsrc-d83fe9deea7ef02c806fcf2dc287730b9ad2ddee.tar.gz
rust/cargo: replace "--frozen --locked" with "--offline" in various places
The intent of "--frozen --locked" was to not use the network, but the new "--offline" option is better suited for this purpose. It for example allows us to patch Cargo.toml if necessary without having to regen checksums.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ripgrep/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/ripgrep/Makefile b/textproc/ripgrep/Makefile
index fc5ab4cc1d0..0c1363ff177 100644
--- a/textproc/ripgrep/Makefile
+++ b/textproc/ripgrep/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2020/01/19 18:20:46 maya Exp $
+# $NetBSD: Makefile,v 1.9 2020/08/14 11:05:00 tnn Exp $
DISTNAME= ripgrep-11.0.2
CATEGORIES= textproc
@@ -79,7 +79,7 @@ CARGO_CRATE_DEPENDS+= wincolor-1.0.1
INSTALLATION_DIRS= bin
do-build:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --locked --frozen --release -j${_MAKE_JOBS_N}
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --offline --release -j${_MAKE_JOBS_N}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/rg ${DESTDIR}${PREFIX}/bin