pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/ripgrep
Module Name: pkgsrc
Committed By: tnn
Date: Sat Jan 5 02:58:54 UTC 2019
Modified Files:
pkgsrc/textproc/ripgrep: Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/ripgrep/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/ripgrep/Makefile
diff -u pkgsrc/textproc/ripgrep/Makefile:1.3 pkgsrc/textproc/ripgrep/Makefile:1.4
--- pkgsrc/textproc/ripgrep/Makefile:1.3 Thu Oct 25 00:35:22 2018
+++ pkgsrc/textproc/ripgrep/Makefile Sat Jan 5 02:58:54 2019
@@ -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 @@ CARGO_CRATE_DEPENDS+= \
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