squid: fix armv[56]l* build

This commit is contained in:
maxice8 2019-02-14 10:49:48 -02:00
parent d596693db0
commit 3cc3f5bf38
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -68,6 +68,13 @@ distfiles="ftp://ftp.fu-berlin.de/unix/www/${pkgname}/${pkgname}/${pkgname}-${ve
checksum=553edf76d6ee9a1627af9c2be7be850c14cd6836170b3d6c1393fd700d44ccc5
system_accounts="squid"
case "$XBPS_TARGET_MACHINE" in
armv[56]l*)
makedepends+=" libatomic-devel"
LDFLAGS+=" -latomic"
;;
esac
post_install() {
chmod u+s \
${DESTDIR}/usr/libexec/squid/basic_ncsa_auth \