fswatch: use generic libatomic checks
This commit is contained in:
parent
aa1a906667
commit
94764a903b
1 changed files with 3 additions and 6 deletions
|
@ -12,12 +12,9 @@ homepage="https://emcrisostomo.github.io/fswatch/"
|
||||||
distfiles="https://github.com/emcrisostomo/fswatch/releases/download/${version}/fswatch-${version}.tar.gz"
|
distfiles="https://github.com/emcrisostomo/fswatch/releases/download/${version}/fswatch-${version}.tar.gz"
|
||||||
checksum=44d5707adc0e46d901ba95a5dc35c5cc282bd6f331fcf9dbf9fad4af0ed5b29d
|
checksum=44d5707adc0e46d901ba95a5dc35c5cc282bd6f331fcf9dbf9fad4af0ed5b29d
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
armv[56]*|ppc|ppc-musl)
|
|
||||||
makedepends+=" libatomic-devel"
|
makedepends+=" libatomic-devel"
|
||||||
LDFLAGS=" -latomic"
|
fi
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -rf -- "${DESTDIR}/usr/share/doc"
|
rm -rf -- "${DESTDIR}/usr/share/doc"
|
||||||
|
|
Loading…
Reference in a new issue