diff --git a/srcpkgs/squid/template b/srcpkgs/squid/template index 73a14c1408..4ff7cbeb5e 100644 --- a/srcpkgs/squid/template +++ b/srcpkgs/squid/template @@ -21,7 +21,7 @@ configure_args=" --enable-storeio=aufs,ufs,diskd --enable-delay-pools --enable-arp-acl - --with-openssl=/usr + --with-openssl=${XBPS_CROSS_BASE}/usr --enable-snmp --enable-icmp --enable-linux-netfilter @@ -42,7 +42,10 @@ configure_args=" --enable-ssl-crtd --disable-arch-native --disable-strict-error-checking - --enable-wccpv2" + --enable-wccpv2 + squid_cv_gnu_atomics=yes + BUILDCXX=g++ + BUILDCXXFLAGS=-O2" conf_files="/etc/squid/squid.conf /etc/squid/errorpage.css /etc/squid/cachemgr.conf @@ -60,7 +63,6 @@ license="GPL-2" homepage="http://www.squid-cache.org/" distfiles="ftp://ftp.fu-berlin.de/unix/www/${pkgname}/${pkgname}/${pkgname}-${version}.tar.xz" checksum=cb04e34f6ec80a5ae6caaef042703c841d3803c4c280e75eff12a5a6c84951a2 -nocross="configure: error: cannot run test program while cross compiling" post_install() { chmod u+s \