From: Sergey V. Lobanov Date: Wed, 12 Jan 2022 15:12:46 +0000 (+0300) Subject: lcdproc: fix build on macos X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5fbfba19c25af67df3fbf4bcc7e0526483b08eb4;p=feed%2Fpackages.git lcdproc: fix build on macos ./configure script detects mtab file and fails build if mtab is not found on build host. It is not required for OpenWrt build due to mtab is always /etc/mtab on OpenWrt MacOS doesn't have mtab file so disable it via ac_cv_mtab_file var Signed-off-by: Sergey V. Lobanov --- diff --git a/utils/lcdproc/Makefile b/utils/lcdproc/Makefile index b34a2d8368..34ea2e1b65 100644 --- a/utils/lcdproc/Makefile +++ b/utils/lcdproc/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lcdproc PKG_VERSION:=0.5.9 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/lcdproc/lcdproc/releases/download/v$(PKG_VERSION)/ @@ -109,6 +109,9 @@ This package contains display drivers with external dependencies: $(LCDPROC_OTHER_DRIVERS_TEXT) endef +CONFIGURE_VARS += \ + ac_cv_mtab_file="/etc/mtab" + CONFIGURE_ARGS += \ --disable-libX11 \ --disable-libhid \