pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc lang/rust: Move common BUILD_DEPENDS in rust packages ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a83b6caebd6a
branches:  trunk
changeset: 313003:a83b6caebd6a
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Sep 21 21:26:33 2018 +0000

description:
lang/rust: Move common BUILD_DEPENDS in rust packages to cargo.mk

diffstat:

 lang/rust/cargo.mk        |  4 +++-
 textproc/ripgrep/Makefile |  4 +---
 www/geckodriver/Makefile  |  4 +---
 3 files changed, 5 insertions(+), 7 deletions(-)

diffs (54 lines):

diff -r 87951aa0b606 -r a83b6caebd6a lang/rust/cargo.mk
--- a/lang/rust/cargo.mk        Fri Sep 21 20:35:56 2018 +0000
+++ b/lang/rust/cargo.mk        Fri Sep 21 21:26:33 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: cargo.mk,v 1.2 2018/05/06 01:59:36 maya Exp $
+# $NetBSD: cargo.mk,v 1.3 2018/09/21 21:26:33 minskim Exp $
 #
 # Common logic that can be used by packages that depend on cargo crates
 # from crates.io. This lets existing pkgsrc infrastructure fetch and verify
@@ -20,6 +20,8 @@
 #
 # See also www/geckodriver for a full example.
 
+BUILD_DEPENDS+=        rust-[0-9]*:../../lang/rust
+
 USE_TOOLS+=            bsdtar digest
 CARGO_VENDOR_DIR=      ${WRKDIR}/vendor
 
diff -r 87951aa0b606 -r a83b6caebd6a textproc/ripgrep/Makefile
--- a/textproc/ripgrep/Makefile Fri Sep 21 20:35:56 2018 +0000
+++ b/textproc/ripgrep/Makefile Fri Sep 21 21:26:33 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/05/08 07:48:39 maya Exp $
+# $NetBSD: Makefile,v 1.2 2018/09/21 21:26:33 minskim Exp $
 
 GITHUB_PROJECT=        ripgrep
 DISTNAME=      0.8.1
@@ -15,8 +15,6 @@
 WRKSRC=                ${WRKDIR}/ripgrep-0.8.1
 USE_LANGUAGES= c
 
-BUILD_DEPENDS+=        rust-[0-9]*:../../lang/rust
-
 CARGO_CRATE_DEPENDS+=          \
        atty-0.2.6              \
        bytecount-0.3.1         \
diff -r 87951aa0b606 -r a83b6caebd6a www/geckodriver/Makefile
--- a/www/geckodriver/Makefile  Fri Sep 21 20:35:56 2018 +0000
+++ b/www/geckodriver/Makefile  Fri Sep 21 21:26:33 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2018/05/09 23:41:39 maya Exp $
+# $NetBSD: Makefile,v 1.5 2018/09/21 21:26:33 minskim Exp $
 
 DISTNAME=      geckodriver-0.20.1
 CATEGORIES=    www
@@ -11,8 +11,6 @@
 COMMENT=       W3C WebDriver-compatible proxy for Gecko-based browsers
 LICENSE=       mpl-1.1
 
-BUILD_DEPENDS+=        rust-[0-9]*:../../lang/rust
-
 CARGO_CRATE_DEPENDS+=          \
        adler32-1.0.2           \
        aho-corasick-0.6.4      \



Home | Main Index | Thread Index | Old Index