From 1ae632ceec963cd68c8ee478a0f3fe56f7f4f5e7 Mon Sep 17 00:00:00 2001 From: newbluemoon Date: Sun, 31 Dec 2017 16:25:23 +0100 Subject: [PATCH] litecoin: fix cross compilation Closes: #10303 [via git-merge-pr] --- srcpkgs/litecoin/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/litecoin/template b/srcpkgs/litecoin/template index b0765f4dd7..bface305fc 100644 --- a/srcpkgs/litecoin/template +++ b/srcpkgs/litecoin/template @@ -13,8 +13,12 @@ maintainer="Juan RP " license="MIT" homepage="http://www.litecoin.org/" distfiles="https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz" -checksum=953fd6cee2da3ed63779b2dbce8a775e76d7a926be3de5b906d40f6641a2b4d5 -nocross=yes +checksum=4db5473be17fc707acfa4bc5d13b5c07915fa8c28b404ca0e6969fecc41744b2 + +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-host-tools protobuf" + configure_args+=" --with-boost=${XBPS_CROSS_BASE}" +fi pre_configure() { NOCONFIGURE=1 ./autogen.sh