From 3cc3f5bf3815e9bc68d7ef0eaef4994d8a8d2166 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 14 Feb 2019 10:49:48 -0200 Subject: [PATCH] squid: fix armv[56]l* build --- srcpkgs/squid/template | 7 +++++++ 1 file changed, 7 insertions(+) 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 \