package/mtr: use ncurses option
Use --with-ncurses and --without-ncurses options which are available
since version 0.88 and
4e2a948a16
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
(cherry picked from commit edb65b4e6d7ecfec1bf732b6a4a047e155b22dac)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
f240c0b30d
commit
e94767fe46
@@ -10,10 +10,16 @@ MTR_AUTORECONF = YES
|
|||||||
MTR_CONF_OPTS = --without-gtk
|
MTR_CONF_OPTS = --without-gtk
|
||||||
MTR_DEPENDENCIES = \
|
MTR_DEPENDENCIES = \
|
||||||
host-pkgconf \
|
host-pkgconf \
|
||||||
$(if $(BR2_PACKAGE_LIBCAP),libcap) \
|
$(if $(BR2_PACKAGE_LIBCAP),libcap)
|
||||||
$(if $(BR2_PACKAGE_NCURSES),ncurses)
|
|
||||||
MTR_LICENSE = GPL-2.0
|
MTR_LICENSE = GPL-2.0
|
||||||
MTR_LICENSE_FILES = COPYING
|
MTR_LICENSE_FILES = COPYING
|
||||||
MTR_SELINUX_MODULES = netutils
|
MTR_SELINUX_MODULES = netutils
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_NCURSES),y)
|
||||||
|
MTR_CONF_OPTS += --with-ncurses
|
||||||
|
MTR_DEPENDENCIES += ncurses
|
||||||
|
else
|
||||||
|
MTR_CONF_OPTS += --without-ncurses
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user