git: fb05485fe32d - main - graphics/libimagequant: convert WRKSRC_SUBDIR to --package
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Jan 2023 00:05:28 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb05485fe32d25ace13afe9214b2f86aa52c8475 commit fb05485fe32d25ace13afe9214b2f86aa52c8475 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-01-23 22:13:19 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-01-23 23:51:42 +0000 graphics/libimagequant: convert WRKSRC_SUBDIR to --package $ make cargo-crates ===> /wrkdirs/usr/ports/graphics/libimagequant/work/libimagequant-4.0.5/imagequant-sys/Cargo.lock not found. Trying to generate it... Updating crates.io index /usr/bin/awk: can't open file /wrkdirs/usr/ports/graphics/libimagequant/work/libimagequant-4.0.5/imagequant-sys/Cargo.lock source line number 6 *** Error code 2 --- graphics/libimagequant/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/graphics/libimagequant/Makefile b/graphics/libimagequant/Makefile index 1c92b129cbba..14e3ced6e1b6 100644 --- a/graphics/libimagequant/Makefile +++ b/graphics/libimagequant/Makefile @@ -13,9 +13,10 @@ BUILD_DEPENDS= cargo-cbuild:devel/cargo-c USES= cargo USE_GITHUB= yes -GH_ACCOUNT= ImageOptim -WRKSRC_SUBDIR= imagequant-sys USE_LDCONFIG= yes +GH_ACCOUNT= ImageOptim +CARGO_BUILD_ARGS= --package imagequant-sys +CARGO_INSTALL_ARGS:= ${CARGO_BUILD_ARGS} PLIST_FILES= include/libimagequant.h \ lib/libimagequant.a \ lib/libimagequant.so \