From 9cae8f557b9d3f18ccf3694155f452d6b55de5f6 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 12 Apr 2020 10:29:59 +0200 Subject: [PATCH] package/mc: add optional dependency to gmp Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- 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 -- 2.30.2