diff --git a/srcpkgs/libtorrent/template b/srcpkgs/libtorrent/template index 060b071e4cf..9408171f3e8 100644 --- a/srcpkgs/libtorrent/template +++ b/srcpkgs/libtorrent/template @@ -14,6 +14,12 @@ homepage="https://github.com/rakshasa/${pkgname}" distfiles="https://github.com/rakshasa/${pkgname}/archive/v${version}.tar.gz" checksum=0f6c2e7ffd3a1723ab47fdac785ec40f85c0a5b5a42c1d002272205b988be722 +# https://github.com/rakshasa/rtorrent/issues/156 +case "$XBPS_TARGET_MACHINE" in + ppc64*) ;; + ppc*|mips*) configure_args+=" --disable-instrumentation";; +esac + pre_configure() { autoreconf -fi sed -e 's,test "$cross_compiling" = yes, false,' -i configure