supergfxctl/supergfxctl-4.0.5/debian/patches/make_build_always_vendered.patch
2023-02-23 22:05:28 +02:00

15 lines
396 B
Diff

diff -ruN a/Makefile b/Makefile
--- a/Makefile 2022-06-21 00:48:22.000000000 +0300
+++ b/Makefile 2022-10-22 11:32:46.293542591 +0300
@@ -70,10 +70,8 @@
rm -rf vendor
build:
-ifeq ($(VENDORED),1)
@echo "version = $(VERSION)"
tar pxf vendor-$(VERSION).tar.xz
-endif
cargo build --features "daemon cli" $(ARGS)
strip -s ./target/release/$(BIN_SD)
strip -s ./target/release/$(BIN_SC)