d24b8afb22
This commit switches to use the new gettext logic, which involves using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on gettext/host-gettext. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
26 lines
665 B
Makefile
26 lines
665 B
Makefile
################################################################################
|
|
#
|
|
# popt
|
|
#
|
|
################################################################################
|
|
|
|
POPT_VERSION = 1.16
|
|
POPT_SITE = http://rpm5.org/files/popt
|
|
POPT_INSTALL_STAGING = YES
|
|
POPT_LICENSE = MIT
|
|
POPT_LICENSE_FILES = COPYING
|
|
POPT_AUTORECONF = YES
|
|
POPT_GETTEXTIZE = YES
|
|
POPT_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
|
|
|
POPT_CONF_ENV = ac_cv_va_copy=yes
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
POPT_CONF_ENV += am_cv_lib_iconv=yes
|
|
POPT_CONF_OPTS += --with-libiconv-prefix=$(STAGING_DIR)/usr
|
|
POPT_DEPENDENCIES += libiconv
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|