52d10583b3
Commit 9cae8f557b
introduced an optional
dependency on GPM, but got the name of the option wrong, and used
GMP. In fact, even the commit title was wrong.
This causes a build failure:
Makefile:578: *** gpm is in the dependency chain of mc that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in. Stop.
Fixes:
http://autobuild.buildroot.net/results/52fb92ae7dd55cba7d19862bb6cd89c80da9a4b6/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# mc
|
|
#
|
|
################################################################################
|
|
|
|
MC_VERSION = 4.8.24
|
|
MC_SOURCE = mc-$(MC_VERSION).tar.xz
|
|
MC_SITE = http://ftp.midnight-commander.org
|
|
MC_LICENSE = GPL-3.0+
|
|
MC_LICENSE_FILES = COPYING
|
|
MC_DEPENDENCIES = libglib2 host-pkgconf
|
|
|
|
ifeq ($(BR2_PACKAGE_GPM),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
|
|
else
|
|
MC_CONF_OPTS += --disable-vfs-sftp
|
|
endif
|
|
|
|
# mc prefers slang, so use that if enabled, otherwise
|
|
# fallback to using ncurses.
|
|
# Either or both will be enabled, but we prefer slang.
|
|
ifeq ($(BR2_PACKAGE_SLANG),y)
|
|
MC_DEPENDENCIES += slang
|
|
MC_CONF_OPTS += --with-screen=slang
|
|
else
|
|
MC_DEPENDENCIES += ncurses
|
|
MC_CONF_OPTS += --with-screen=ncurses
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
|
MC_CONF_OPTS += --with-x
|
|
MC_DEPENDENCIES += xlib_libX11
|
|
else
|
|
MC_CONF_OPTS += --without-x
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|