From f6b3946960e26ed4060d612afb8beceead8ec2d8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 17 Apr 2016 17:16:52 +0200 Subject: [PATCH] file: cross compilation needs the same file version in the host. --- srcpkgs/file/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/file/template b/srcpkgs/file/template index 5becfa5e2b2..7f8d55859c3 100644 --- a/srcpkgs/file/template +++ b/srcpkgs/file/template @@ -13,6 +13,11 @@ license="2-clause-BSD" distfiles="ftp://ftp.astron.com/pub/file/file-${version}.tar.gz" checksum=2ef32b4ec936b0ff7b59a021dce56086a716663b6df1138c7ea597d396bf50cf +if [ "$CROSS_BUILD" ]; then + # XXX cross compilation needs exactly the same version for the host + hostmakedepends="file" +fi + post_install() { vlicense COPYING }