bacula-common: fix armv6* build

This commit is contained in:
Michael Gehring 2018-03-04 07:39:02 +00:00
parent 78773ddc32
commit 83d8dacdae

View File

@ -21,6 +21,10 @@ wrksrc="${pkgname%-*}-${version}"
shlib_provides="libbaccats-${version}.so"
alternatives="bacula-db-backend:/usr/lib/libbaccats-${version}.so:/usr/lib/libbaccats-sqlite3-${version}.so"
case "$XBPS_TARGET_MACHINE" in
armv6*) makedepends+=" libatomic-devel" ;;
esac
post_install() {
rm "${DESTDIR}/usr/bin/bacula"
rm -rf "${DESTDIR}/usr/share/doc"