Commit 542fbe85 authored by Thomas Petazzoni's avatar Thomas Petazzoni
Browse files

Make all package using gettext rely on BR2_NEEDS_GETTEXT

parent 54d64798
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
config BR2_PACKAGE_AVAHI
	bool "avahi"
	select BR2_PACKAGE_GETTEXT if BR2_ENABLE_LOCALE
	select BR2_PACKAGE_LIBINTL if BR2_ENABLE_LOCALE
	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT
	help
	  Avahi is a system which facilitates service
	  discovery on a local network.
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ AVAHI_CONF_OPT = --localstatedir=/var \
		--with-autoipd-user=default \
		--with-autoipd-group=default

AVAHI_DEPENDENCIES = $(if $(BR2_PACKAGE_GETTEXT),gettext) host-intltool
AVAHI_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT),gettext libintl) host-intltool

ifneq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_AVAHI_AUTOIPD),)
AVAHI_DEPENDENCIES += libdaemon
+2 −2
Original line number Diff line number Diff line
@@ -2,8 +2,8 @@ config BR2_PACKAGE_GMPC
	bool "gmpc"
	depends on BR2_PACKAGE_LIBGTK2
	select BR2_PACKAGE_LIBGLIB2
	select BR2_PACKAGE_GETTEXT
	select BR2_PACKAGE_LIBINTL
	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT
	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
	select BR2_PACKAGE_LIBMPD
	select BR2_PACKAGE_LIBCURL
+2 −1
Original line number Diff line number Diff line
@@ -11,7 +11,8 @@ GMPC_CONF_ENV = ac_cv_lib_curl_curl_global_init=yes \
		ac_cv_path_GOB2=$(GOB2_HOST_BINARY)
GMPC_CONF_OPT = --disable-mmkeys

GMPC_DEPENDENCIES = libglib2 libgtk2 libglade libcurl libmpd host-gob2 host-intltool
GMPC_DEPENDENCIES = libglib2 libgtk2 libglade libcurl libmpd host-gob2 host-intltool \
	$(if $(BR2_NEEDS_GETTEXT),gettext libintl)

ifeq ($(BR2_PACKAGE_XLIB_LIBSM),y)
GMPC_DEPENENCIES += xlib_libSM
+2 −2
Original line number Diff line number Diff line
config BR2_PACKAGE_GREP
	bool "grep"
	select BR2_PACKAGE_GETTEXT if BR2_ENABLE_LOCALE
	select BR2_PACKAGE_LIBINTL if BR2_ENABLE_LOCALE
	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT
	help
	  The GNU regular expression matcher.

Loading