diff --git a/srcpkgs/thrift/template b/srcpkgs/thrift/template index d6b62b2a9fe..d0ddb7b952e 100644 --- a/srcpkgs/thrift/template +++ b/srcpkgs/thrift/template @@ -1,7 +1,7 @@ # Template file for 'thrift' pkgname=thrift version=0.13.0 -revision=1 +revision=2 build_style=gnu-configure makedepends="boost-devel libressl-devel" short_desc="Apache Thrift compiler" @@ -10,4 +10,7 @@ license="Apache-2.0" homepage="https://thrift.apache.org/" distfiles="http://www-us.apache.org/dist/thrift/${version}/thrift-${version}.tar.gz" checksum=7ad348b88033af46ce49148097afe354d513c1fca7c607b59c33ebb6064b5179 -nocross="Executes binaries for testing during build" + +if [ "$CROSS_BUILD" ]; then + configure_args="--disable-tests --disable-tutorial" +fi