Date: Tue, 7 Sep 2021 08:10:28 GMT From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 905b1bd86fd5 - main - Uses/cargo: Try to load Makefile.crates Message-ID: <202109070810.1878ASjb072688@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by tobik: URL: https://cgit.FreeBSD.org/ports/commit/?id=905b1bd86fd5a0a40ce912c5d96992303a05aa62 commit 905b1bd86fd5a0a40ce912c5d96992303a05aa62 Author: Tobias Kortkamp <tobik@FreeBSD.org> AuthorDate: 2021-09-07 07:26:05 +0000 Commit: Tobias Kortkamp <tobik@FreeBSD.org> CommitDate: 2021-09-07 08:04:09 +0000 Uses/cargo: Try to load Makefile.crates Some ports stash the `make cargo-crates` output there which might as well be supported by USES=cargo. --- Mk/Uses/cargo.mk | 2 ++ dns/doh-proxy/Makefile | 1 - multimedia/librespot/Makefile | 2 -- net-p2p/openethereum/Makefile | 2 -- sysutils/jail_exporter/Makefile | 3 --- 5 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk index a0a88701e62e..7df138518f88 100644 --- a/Mk/Uses/cargo.mk +++ b/Mk/Uses/cargo.mk @@ -14,6 +14,8 @@ _INCLUDE_USES_CARGO_MK= yes IGNORE+= USES=cargo takes no arguments .endif +.sinclude "${MASTERDIR}/Makefile.crates" + # List of static dependencies. The format is cratename-version. # CARGO_CRATES will be downloaded from MASTER_SITE_CRATESIO. CARGO_CRATES?= diff --git a/dns/doh-proxy/Makefile b/dns/doh-proxy/Makefile index 42d3b1c29289..0ce5ae9bc572 100644 --- a/dns/doh-proxy/Makefile +++ b/dns/doh-proxy/Makefile @@ -18,7 +18,6 @@ USES= cargo PLIST_FILES= bin/doh-proxy # make cargo-crates > Makefile.crates -.include "Makefile.crates" post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/doh-proxy diff --git a/multimedia/librespot/Makefile b/multimedia/librespot/Makefile index b451afca17ca..8a1abee4af60 100644 --- a/multimedia/librespot/Makefile +++ b/multimedia/librespot/Makefile @@ -45,8 +45,6 @@ TREMOR_VARS= CARGO_FEATURES+=with-tremor VORBIS_LIB_DEPENDS= libvorbisfile.so:audio/libvorbis VORBIS_VARS= CARGO_FEATURES+=with-vorbis -.include "Makefile.crates" - post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/librespot diff --git a/net-p2p/openethereum/Makefile b/net-p2p/openethereum/Makefile index 626bf34e4fd2..3dc186f64349 100644 --- a/net-p2p/openethereum/Makefile +++ b/net-p2p/openethereum/Makefile @@ -21,8 +21,6 @@ CARGO_TEST= yes RUSTFLAGS+= -C link-arg=-fuse-ld=lld -.include "${.CURDIR}/Makefile.crates" - CARGO_GIT_SUBDIR= rethutil:reth-util:crates/util post-install: diff --git a/sysutils/jail_exporter/Makefile b/sysutils/jail_exporter/Makefile index d01d5154d14e..ae87eaf89643 100644 --- a/sysutils/jail_exporter/Makefile +++ b/sysutils/jail_exporter/Makefile @@ -17,9 +17,6 @@ USE_RC_SUBR= jail_exporter OPTIONS_DEFINE= DOCS -# This Makefile contains the CARGO_CRATES section. -.include "Makefile.crates" - post-install: ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.8 \ ${STAGEDIR}${MANPREFIX}/man/man8
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109070810.1878ASjb072688>