kumquat-buildroot/package/mtr/mtr.mk
Thomas De Schampheleire aaffd209fa packages: rename FOO_CONF_OPT into FOO_CONF_OPTS
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS,
make the same change for FOO_CONF_OPT.

Sed command used:
   find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g'

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04 18:54:16 +02:00

25 lines
645 B
Makefile

################################################################################
#
# mtr
#
################################################################################
MTR_VERSION = 0.85
MTR_SITE = ftp://ftp.bitwizard.nl/mtr
MTR_CONF_OPTS = --without-gtk --without-glib
MTR_DEPENDENCIES = host-pkgconf $(if $(BR2_PACKAGE_NCURSES),ncurses)
MTR_LICENSE = GPLv2
MTR_LICENSE_FILES = COPYING
# uClibc has res_ninit but not res_nmkquery
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
define MTR_DISABLE_RES_NINIT
$(SED) 's/#ifdef res_ninit/#if 0/' \
$(@D)/dns.c
endef
endif
MTR_POST_PATCH_HOOKS += MTR_DISABLE_RES_NINIT
$(eval $(autotools-package))