summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mc
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2021-08-24 09:52:10 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-24 09:37:21 +0100
commit47d982e36fe40fede643df00c4191c97d6fa1513 (patch)
treea0a32e1f0611a66bc015710df19b7c8ee60543d7 /meta/recipes-extended/mc
parentcae167c5babebd5d4a946a1c086e37a2ab73f159 (diff)
downloadpoky-47d982e36fe40fede643df00c4191c97d6fa1513.tar.gz
mc: fix reproducibility
It is probing into what options the /usr/bin/file executable does and does not support and bakes that into target binaries, so we need to use a deterministic one we build ourselves. (From OE-Core rev: 91bb0c4180b0e788b4483f836478b7de948029a0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mc')
-rw-r--r--meta/recipes-extended/mc/mc_4.8.27.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-extended/mc/mc_4.8.27.bb b/meta/recipes-extended/mc/mc_4.8.27.bb
index bc2348432b..546e615d1d 100644
--- a/meta/recipes-extended/mc/mc_4.8.27.bb
+++ b/meta/recipes-extended/mc/mc_4.8.27.bb
@@ -4,7 +4,7 @@ DESCRIPTION = "GNU Midnight Commander is a visual file manager, licensed under G
4LICENSE = "GPLv3" 4LICENSE = "GPLv3"
5LIC_FILES_CHKSUM = "file://COPYING;md5=270bbafe360e73f9840bd7981621f9c2" 5LIC_FILES_CHKSUM = "file://COPYING;md5=270bbafe360e73f9840bd7981621f9c2"
6SECTION = "console/utils" 6SECTION = "console/utils"
7DEPENDS = "ncurses glib-2.0 util-linux" 7DEPENDS = "ncurses glib-2.0 util-linux file-replacement-native"
8RDEPENDS:${PN} = "ncurses-terminfo-base" 8RDEPENDS:${PN} = "ncurses-terminfo-base"
9RRECOMMENDS:${PN} = "ncurses-terminfo" 9RRECOMMENDS:${PN} = "ncurses-terminfo"
10 10
@@ -14,6 +14,10 @@ SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2 \
14 " 14 "
15SRC_URI[sha256sum] = "2f52dd9c75c20d8eac7701bd3a8c6c125aaf8cdd9cf12b78ca50a0102b543407" 15SRC_URI[sha256sum] = "2f52dd9c75c20d8eac7701bd3a8c6c125aaf8cdd9cf12b78ca50a0102b543407"
16 16
17# remove at next version upgrade or when output changes
18PR = "r1"
19HASHEQUIV_HASH_VERSION .= ".2"
20
17inherit autotools gettext pkgconfig 21inherit autotools gettext pkgconfig
18 22
19# 23#
@@ -25,6 +29,7 @@ PACKAGECONFIG[sftp] = "--enable-vfs-sftp,--disable-vfs-sftp,libssh2,"
25 29
26CFLAGS:append:libc-musl = ' -DNCURSES_WIDECHAR=1 ' 30CFLAGS:append:libc-musl = ' -DNCURSES_WIDECHAR=1 '
27EXTRA_OECONF = "--with-screen=ncurses --without-gpm-mouse --without-x --disable-configure-args" 31EXTRA_OECONF = "--with-screen=ncurses --without-gpm-mouse --without-x --disable-configure-args"
32EXTRANATIVEPATH += "file-native"
28 33
29CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'" 34CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'"
30CACHED_CONFIGUREVARS += "ac_cv_path_PYTHON='/usr/bin/env python'" 35CACHED_CONFIGUREVARS += "ac_cv_path_PYTHON='/usr/bin/env python'"