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 <sergey@lobanov.in>
This commit is contained in:
parent
2978bc1977
commit
5fbfba19c2
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue