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"