pkgsrc-WIP-changes archive

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

spotifyd: convert to using CARGO_ARGS



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Fri Aug 14 22:59:35 2020 +0200
Changeset:	56b1711c71a52198376851b8a38c02b84bae2bf9

Modified Files:
	spotifyd/Makefile

Log Message:
spotifyd: convert to using CARGO_ARGS

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=56b1711c71a52198376851b8a38c02b84bae2bf9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 spotifyd/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diffs:
diff --git a/spotifyd/Makefile b/spotifyd/Makefile
index a81ff58f91..8212662b0f 100644
--- a/spotifyd/Makefile
+++ b/spotifyd/Makefile
@@ -384,8 +384,10 @@ CHECK_WRKREF_SKIP+=	bin/spotifyd
 # 12. Can then re-add `--frozen --locked` below
 #
 # Although... also need to update the cargo crate depends list above and those patches...
-do-build:
-	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --no-default-features --features pulseaudio_backend --release --frozen --locked
+
+CARGO_ARGS=	${DEFAULT_CARGO_ARGS}	\
+		--no-default-features	\
+		--features pulseaudio_backend
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/target/release/spotifyd ${DESTDIR}${PREFIX}/bin


Home | Main Index | Thread Index | Old Index