From 54443845515874ee1048f233701a3933a7157f48 Mon Sep 17 00:00:00 2001 From: q66 Date: Sat, 8 Feb 2020 17:13:53 +0100 Subject: [PATCH] bacula-common: use generic libatomic checks --- srcpkgs/bacula-common/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/srcpkgs/bacula-common/template b/srcpkgs/bacula-common/template index 0320a9afe66..ef76bc1935c 100644 --- a/srcpkgs/bacula-common/template +++ b/srcpkgs/bacula-common/template @@ -18,10 +18,9 @@ checksum=a40d04d2c48135972cecb6578405e835c4b9d798c0950017de0fad40ca94e8a0 alternatives="bacula-db-backend:/usr/lib/libbaccats-${version}.so:/usr/lib/libbaccats-sqlite3-${version}.so" shlib_provides="libbaccats-${version}.so" -case "$XBPS_TARGET_MACHINE" in - ppc64*) ;; - armv[56]*|ppc*) makedepends+=" libatomic-devel" ;; -esac +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" +fi post_install() { rm "${DESTDIR}/usr/bin/bacula"