sane-backends: fix build on macos
authorSergey V. Lobanov <redacted>
Sat, 29 Jan 2022 21:12:47 +0000 (00:12 +0300)
committerLuiz Angelo Daros de Luca <redacted>
Sat, 29 Jan 2022 22:26:44 +0000 (19:26 -0300)
MacOS does not have /bin/true, but OpenWrt Makefile uses it so
build fails on macos

This patch removes absolute path (replaces /bin/true to true)

Signed-off-by: Sergey V. Lobanov <redacted>
utils/sane-backends/Makefile

index 82acefcb253f3ff805cb14b5ac2aae4e6b6da7de..67f035eb0af888f1a9d0277415bcc5485b3ee163 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=sane-backends
 PKG_VERSION:=1.0.32
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://gitlab.com/sane-project/backends/uploads/104f09c07d35519cc8e72e604f11643f
@@ -238,7 +238,7 @@ define Package/sane-frontends/install
 endef
 
 define Package/sane-backends-all/install
-       /bin/true
+       true
 endef
 
 define Build/InstallDev
git clone https://git.99rst.org/PROJECT