[Buildroot] [git commit branch/2020.02.x] package/mc: add optional dependency to gmp

Peter Korsgaard peter at korsgaard.com
Wed Apr 29 21:33:22 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=cd635c862b6d1ac7b761aa56ae2725ff2b6a0db4
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.x

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 9cae8f557b9d3f18ccf3694155f452d6b55de5f6)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/mc/mc.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/mc/mc.mk b/package/mc/mc.mk
index 24f6ac36ac..52b3a4b48f 100644
--- a/package/mc/mc.mk
+++ b/package/mc/mc.mk
@@ -11,6 +11,13 @@ MC_LICENSE = GPL-3.0+
 MC_LICENSE_FILES = COPYING
 MC_DEPENDENCIES = libglib2 host-pkgconf
 
+ifeq ($(BR2_PACKAGE_GMP),y)
+MC_CONF_OPTS += --with-gpm-mouse
+MC_DEPENDENCIES += gpm
+else
+MC_CONF_OPTS += --without-gpm-mouse
+endif
+
 ifeq ($(BR2_PACKAGE_LIBSSH2),y)
 MC_CONF_OPTS += --enable-vfs-sftp
 MC_DEPENDENCIES += libssh2


More information about the buildroot mailing list