bacula-common: use generic libatomic checks

This commit is contained in:
q66 2020-02-08 17:13:53 +01:00
parent 23b1ecfd3a
commit 5444384551
1 changed files with 3 additions and 4 deletions

View File

@ -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"