8a8cc7ae3c
The gettext macros in the package are from a gettext version older than the one we have in Buildroot, so autoreconf fails. Run gettextize prior to running autoreconf, like we do in wget. Fixes: http://autobuild.buildroot.net/results/ee2/ee20455ead785200847f50e463c32c55821f8925/ http://autobuild.buildroot.net/results/3fe/3fe46e1a6ef10645e46a2e9efdf651f60f05dea8/ http://autobuild.buildroot.net/results/ecd/ecdacafb3245afa1cce4f587eff9bdfe5c162f81/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# parted
|
|
#
|
|
################################################################################
|
|
|
|
PARTED_VERSION = 3.1
|
|
PARTED_SOURCE = parted-$(PARTED_VERSION).tar.xz
|
|
PARTED_SITE = $(BR2_GNU_MIRROR)/parted
|
|
PARTED_DEPENDENCIES = util-linux
|
|
PARTED_INSTALL_STAGING = YES
|
|
# For uclinux patch
|
|
PARTED_AUTORECONF = YES
|
|
PARTED_GETTEXTIZE = YES
|
|
PARTED_LICENSE = GPLv3+
|
|
PARTED_LICENSE_FILES = COPYING
|
|
|
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
|
PARTED_DEPENDENCIES += readline
|
|
PARTED_CONF_OPT += --with-readline
|
|
else
|
|
PARTED_CONF_OPT += --without-readline
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LVM2),y)
|
|
PARTED_DEPENDENCIES += lvm2
|
|
PARTED_CONF_OPT += --enable-device-mapper
|
|
else
|
|
PARTED_CONF_OPT += --disable-device-mapper
|
|
endif
|
|
|
|
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
|
PARTED_CONF_OPT += --disable-dynamic-loading
|
|
endif
|
|
|
|
HOST_PARTED_DEPENDENCIES = host-util-linux
|
|
HOST_PARTED_CONF_OPT += \
|
|
--without-readline \
|
|
--disable-device-mapper \
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|