Browse Source

package/pkg-autotools: disable NLS for host packages by default

There is no need for language translaion feature for the host
packages, anyway some of them disable it explicitly, so lets do it
automatically at least for the host-autotools- kind of packages.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Vadim Kochan 6 years ago
parent
commit
2bce7d7de9

+ 0 - 1
package/acl/acl.mk

@@ -15,7 +15,6 @@ HOST_ACL_DEPENDENCIES = host-attr
 ACL_INSTALL_STAGING = YES
 ACL_INSTALL_STAGING = YES
 
 
 ACL_CONF_OPTS = --disable-nls
 ACL_CONF_OPTS = --disable-nls
-HOST_ACL_CONF_OPTS = --disable-nls
 
 
 $(eval $(autotools-package))
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
 $(eval $(host-autotools-package))

+ 0 - 1
package/attr/attr.mk

@@ -12,7 +12,6 @@ ATTR_LICENSE_FILES = doc/COPYING doc/COPYING.LGPL
 ATTR_INSTALL_STAGING = YES
 ATTR_INSTALL_STAGING = YES
 
 
 ATTR_CONF_OPTS = --disable-nls
 ATTR_CONF_OPTS = --disable-nls
-HOST_ATTR_CONF_OPTS = --disable-nls
 
 
 $(eval $(autotools-package))
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
 $(eval $(host-autotools-package))

+ 0 - 1
package/gcc/gcc-initial/gcc-initial.mk

@@ -38,7 +38,6 @@ HOST_GCC_INITIAL_CONF_OPTS = \
 	--disable-threads \
 	--disable-threads \
 	--with-newlib \
 	--with-newlib \
 	--disable-largefile \
 	--disable-largefile \
-	--disable-nls \
 	$(call qstrip,$(BR2_EXTRA_GCC_CONFIG_OPTIONS))
 	$(call qstrip,$(BR2_EXTRA_GCC_CONFIG_OPTIONS))
 
 
 HOST_GCC_INITIAL_CONF_ENV = \
 HOST_GCC_INITIAL_CONF_ENV = \

+ 0 - 2
package/gutenprint/gutenprint.mk

@@ -61,8 +61,6 @@ HOST_GUTENPRINT_CONF_OPTS = \
 	--disable-samples \
 	--disable-samples \
 	--without-gimp2 \
 	--without-gimp2 \
 	--without-doc \
 	--without-doc \
-	--disable-nls \
-	--disable-nls-macos \
 	--without-foomatic \
 	--without-foomatic \
 	--without-foomatic3 \
 	--without-foomatic3 \
 	--disable-escputil \
 	--disable-escputil \

+ 1 - 0
package/pkg-autotools.mk

@@ -232,6 +232,7 @@ define $(2)_CONFIGURE_CMDS
 		--disable-debug \
 		--disable-debug \
 		--with-xmlto=no \
 		--with-xmlto=no \
 		--with-fop=no \
 		--with-fop=no \
+		--disable-nls \
 		$$(if $$($$(PKG)_OVERRIDE_SRCDIR),,--disable-dependency-tracking) \
 		$$(if $$($$(PKG)_OVERRIDE_SRCDIR),,--disable-dependency-tracking) \
 		$$(QUIET) $$($$(PKG)_CONF_OPTS) \
 		$$(QUIET) $$($$(PKG)_CONF_OPTS) \
 	)
 	)

+ 1 - 2
package/vim/vim.mk

@@ -86,8 +86,7 @@ HOST_VIM_CONF_OPTS = \
 	--without-x \
 	--without-x \
 	--disable-acl \
 	--disable-acl \
 	--disable-gpm \
 	--disable-gpm \
-	--disable-selinux \
-	--disable-nls
+	--disable-selinux
 
 
 $(eval $(autotools-package))
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
 $(eval $(host-autotools-package))