From 6007adef686e238a7a50cdadbe038a51cb036fe4 Mon Sep 17 00:00:00 2001 From: Lucian Cristian Date: Sun, 14 Apr 2019 16:18:29 +0300 Subject: [PATCH] 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 --- libs/intltool/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 + +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