devel/pkg-config: fix build when CONFIG_BUILD_NLS is set
Buildbots reported build failures when full NLS is enabled: http://buildbot.openwrt.org:8010/broken_packages/ar71xx/pkg-config/compile.txt So add NLS awareness and the conditional dependency. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
This commit is contained in:
parent
48f1406b18
commit
40d611c673
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2015 OpenWrt.org
|
# Copyright (C) 2015-2016 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=pkg-config
|
PKG_NAME:=pkg-config
|
||||||
PKG_VERSION:=0.29
|
PKG_VERSION:=0.29
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE_URL:=http://pkgconfig.freedesktop.org/releases/
|
PKG_SOURCE_URL:=http://pkgconfig.freedesktop.org/releases/
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
@ -20,13 +20,14 @@ PKG_LICENSE:=GPL-2+
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
include $(INCLUDE_DIR)/nls.mk
|
||||||
|
|
||||||
define Package/pkg-config
|
define Package/pkg-config
|
||||||
SECTION:=devel
|
SECTION:=devel
|
||||||
CATEGORY:=Development
|
CATEGORY:=Development
|
||||||
TITLE:=pkg-config
|
TITLE:=pkg-config
|
||||||
URL:=http://www.freedesktop.org/wiki/Software/pkg-config/
|
URL:=http://www.freedesktop.org/wiki/Software/pkg-config/
|
||||||
DEPENDS:=+glib2
|
DEPENDS:=+glib2 $(INTL_DEPENDS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/pkg-config/description
|
define Package/pkg-config/description
|
||||||
|
|
Loading…
Reference in a new issue