From 949f6ebf5291389758bf331cc3e192d0042ac41e Mon Sep 17 00:00:00 2001 From: q66 Date: Sat, 8 Feb 2020 17:19:27 +0100 Subject: [PATCH] libtorrent-rasterbar: use generic libatomic checks --- srcpkgs/libtorrent-rasterbar/template | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/srcpkgs/libtorrent-rasterbar/template b/srcpkgs/libtorrent-rasterbar/template index cb13c54622d..3c7a91fee0f 100644 --- a/srcpkgs/libtorrent-rasterbar/template +++ b/srcpkgs/libtorrent-rasterbar/template @@ -15,12 +15,10 @@ homepage="https://libtorrent.org/" distfiles="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/libtorrent-rasterbar-${version}.tar.gz" checksum=1582fdbbd0449bcfe4ffae2ccb9e5bf0577459a32bb25604e01accb847da1a2d -case "$XBPS_TARGET_MACHINE" in - armv[56]*|mips*|ppc|ppc-musl) - makedepends+=" libatomic-devel" - LDFLAGS+=" -latomic" - ;; -esac +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" + LDFLAGS+=" -latomic" +fi pre_configure() { local _py3_ver=${py3_ver}${py3_abiver}