From fa4341561a36ecca04f4db30eb846e5dabc6a627 Mon Sep 17 00:00:00 2001 From: q66 Date: Sat, 8 Feb 2020 17:22:55 +0100 Subject: [PATCH] snapcast: use generic libatomic checks --- srcpkgs/snapcast/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/srcpkgs/snapcast/template b/srcpkgs/snapcast/template index c134418ba6d..7aa60e8988e 100644 --- a/srcpkgs/snapcast/template +++ b/srcpkgs/snapcast/template @@ -16,10 +16,9 @@ checksum=425afb7e24768ca08c247dc394aaa25fd2a6886e6789e18c6f024eabd7e0f688 build_options="avahi" -case "$XBPS_TARGET_MACHINE" in - ppc64*) ;; - armv[56]*|mips*|ppc*) makedepends+=" libatomic-devel" ;; -esac +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" +fi post_install() { vdoc README.md