[Buildroot] [git commit branch/2018.02.x] lcdproc: use ac_cv_mtab_file

Peter Korsgaard peter at korsgaard.com
Tue Nov 13 22:59:50 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=a62833438ee71385bb9841ca922283af371f6057
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2018.02.x

Set ac_cv_mtab_file to /etc/mtab otherwise build will fail if no mtab,
mnttab or fstab is found in /etc (on host)

Fixes:
 - http://autobuild.buildroot.org/results/efaf2833d674c7e366c59f367f0b83c7f88546bb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
(cherry picked from commit b4501ca80d9c02984e5d0715b999d8d638cda544)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/lcdproc/lcdproc.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/lcdproc/lcdproc.mk b/package/lcdproc/lcdproc.mk
index e5b6172b15..96e59da409 100644
--- a/package/lcdproc/lcdproc.mk
+++ b/package/lcdproc/lcdproc.mk
@@ -18,7 +18,9 @@ endif
 
 LCDPROC_DEPENDENCIES = freetype ncurses zlib
 
-LCDPROC_CONF_ENV += ac_cv_path_FT2_CONFIG=$(STAGING_DIR)/usr/bin/freetype-config
+LCDPROC_CONF_ENV += \
+	ac_cv_mtab_file=/etc/mtab \
+	ac_cv_path_FT2_CONFIG=$(STAGING_DIR)/usr/bin/freetype-config
 
 ifeq ($(BR2_PACKAGE_LIBPNG),y)
 LCDPROC_DEPENDENCIES += libpng


More information about the buildroot mailing list