summaryrefslogtreecommitdiffstats
path: root/package/gutenprint
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-05-27 13:01:02 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-05-30 21:54:10 +0200
commit7b6c61d07f180805c1461754f685ecbd76efa3f9 (patch)
tree568e2df6e2b0d47ac35c5c8240747eeacf307a5d /package/gutenprint
parentf0e3147ee52b274ad887e59450d8a20427ea75f6 (diff)
downloadbuildroot-novena-7b6c61d07f180805c1461754f685ecbd76efa3f9.tar.gz
buildroot-novena-7b6c61d07f180805c1461754f685ecbd76efa3f9.zip
gutenprint: ensure target and host variant have the same patch hooks
In preparation for the out-of-tree support, it is important that all packages have the same patch hooks for the host variant and the target variant (because the source tree will be shared between host and target variants when doing out-of-tree build). In the case of gutenprint, the patch hook executed for the target just creates one directory which is needed for autoreconf to work, and the host variant is not autoreconf'ed. So there is no harm in also applying this patch hook to the host variant. [Peter: autoreconf for host as pointed out by Arnout] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gutenprint')
-rw-r--r--package/gutenprint/gutenprint.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/gutenprint/gutenprint.mk b/package/gutenprint/gutenprint.mk
index 046377138..b5d350dfd 100644
--- a/package/gutenprint/gutenprint.mk
+++ b/package/gutenprint/gutenprint.mk
@@ -12,6 +12,7 @@ GUTENPRINT_LICENSE_FILES = COPYING
# Needed, as we touch Makefile.am
GUTENPRINT_AUTORECONF = YES
+HOST_GUTENPRINT_AUTORECONF = YES
GUTENPRINT_DEPENDENCIES = cups host-pkgconf \
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
@@ -58,6 +59,7 @@ define GUTENPRINT_CREATE_M4_DIR
mkdir -p $(@D)/m4local
endef
GUTENPRINT_POST_PATCH_HOOKS += GUTENPRINT_CREATE_M4_DIR
+HOST_GUTENPRINT_POST_PATCH_HOOKS += GUTENPRINT_CREATE_M4_DIR
define HOST_GUTENPRINT_POST_BUILD_INSTAL_TMP_HEADER
cp $(@D)/src/xml/xmli18n-tmp.h $(HOST_DIR)/usr/include