summaryrefslogtreecommitdiff
path: root/textproc/bat
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2020-01-19 16:52:46 +0000
committermaya <maya@pkgsrc.org>2020-01-19 16:52:46 +0000
commita0457bc0d697b944e460f060a24e6016dcd0fec8 (patch)
treec30d862798bfb9a2c36b80c42aef48e8f3688e56 /textproc/bat
parent00d97569e61074eca6edf72a2fd41a82b2214ea4 (diff)
downloadpkgsrc-a0457bc0d697b944e460f060a24e6016dcd0fec8.tar.gz
Make cargo packages respect MAKE_JOBS
Diffstat (limited to 'textproc/bat')
-rw-r--r--textproc/bat/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/bat/Makefile b/textproc/bat/Makefile
index 841dfedcaf7..2deeef3a915 100644
--- a/textproc/bat/Makefile
+++ b/textproc/bat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2019/09/06 17:32:04 fox Exp $
+# $NetBSD: Makefile,v 1.5 2020/01/19 16:52:47 maya Exp $
DISTNAME= bat-0.12.1
PKGREVISION= 1
@@ -159,7 +159,7 @@ CARGO_CRATE_DEPENDS+= yaml-rust-0.4.3
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-build:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --locked --frozen --release
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --locked --frozen --release -j${EFFECTIVE_MAKE_JOBS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/bat ${DESTDIR}${PREFIX}/bin