summaryrefslogtreecommitdiff
path: root/libs/intltool
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2019-04-14 16:18:29 +0300
committerLucian Cristian <lucian.cristian@gmail.com>2019-04-14 16:18:29 +0300
commit6007adef686e238a7a50cdadbe038a51cb036fe4 (patch)
treefb22d70c67cabf7c18c2fddedbd07103ef753d86 /libs/intltool
parent3be5d4d840edc2dafb532304e2bb3b0671892b92 (diff)
intltool: depend on hostpkg first
The scripts will use the $(STAGING_DIR)/bin/perl which is a simlink to native perl, using $(STAGING_DIR_HOSTPKG) first will use the "perl/host" that has multiple modules availabe to be built as host like perl-xml-parser Using the $(STAGING_DIR)/bin/perl pakages that depend on "perl-xml-parser/host" will fail with: You must have XML::Parser installed to run [...]/staging_dir/hostpkg/bin/intltool-merge Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'libs/intltool')
-rw-r--r--libs/intltool/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/intltool/Makefile b/libs/intltool/Makefile
index 89d7a39c1..93952271a 100644
--- a/libs/intltool/Makefile
+++ b/libs/intltool/Makefile
@@ -7,19 +7,24 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=intltool
PKG_VERSION:=0.51.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://launchpad.net/intltool/trunk/$(PKG_VERSION)/+download
PKG_HASH:=67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
+
+HOST_BUILD_DEPENDS:=perl/host
PKG_HOST_ONLY:=1
HOST_FIXUP:=autoreconf
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
+HOST_CONFIGURE_VARS+= \
+ PATH=$(STAGING_DIR_HOSTPKG)/bin:$(STAGING_DIR_HOSTPKG)/usr/bin:$(PATH)
+
define Package/intltool
SECTION:=libs
CATEGORY:=Libraries