diff --git a/srcpkgs/squid/template b/srcpkgs/squid/template index ee32c3da5d..1689e95c7a 100644 --- a/srcpkgs/squid/template +++ b/srcpkgs/squid/template @@ -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 \