pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/ripgrep ripgrep: use ${INSTALL_PROGRAM} inste...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7ec7a7221122
branches: trunk
changeset: 327639:7ec7a7221122
user: tnn <tnn%pkgsrc.org@localhost>
date: Sat Jan 05 02:58:54 2019 +0000
description:
ripgrep: use ${INSTALL_PROGRAM} instead of "cargo install"
This will make it respect pkgsrc strip(1) settings and also avoids
"cargo install" which can query the creates.io repo and break offline builds.
diffstat:
textproc/ripgrep/Makefile | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r a4b9a048a1b3 -r 7ec7a7221122 textproc/ripgrep/Makefile
--- a/textproc/ripgrep/Makefile Sat Jan 05 00:41:10 2019 +0000
+++ b/textproc/ripgrep/Makefile Sat Jan 05 02:58:54 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/10/25 00:35:22 minskim Exp $
+# $NetBSD: Makefile,v 1.4 2019/01/05 02:58:54 tnn Exp $
GITHUB_PROJECT= ripgrep
DISTNAME= 0.8.1
@@ -61,12 +61,13 @@
fuchsia-zircon-sys-0.3.3 \
bitflags-1.0.1
+INSTALLATION_DIRS= bin
+
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --locked --frozen --release
do-install:
- cd ${WRKSRC} && ${PREFIX}/bin/cargo install --root ${DESTDIR}${PREFIX}
- rm ${DESTDIR}${PREFIX}/.crates.toml
+ ${INSTALL_PROGRAM} ${WRKSRC}/target/release/rg ${DESTDIR}${PREFIX}/bin
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index