From: Bernd Kuhls Date: Sun, 12 Apr 2020 08:29:59 +0000 (+0200) Subject: package/mc: add optional dependency to gmp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9cae8f557b9d3f18ccf3694155f452d6b55de5f6;p=buildroot.git package/mc: add optional dependency to gmp Signed-off-by: Bernd Kuhls Signed-off-by: Yann E. MORIN --- 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