--- /var/db/repos/gentoo/net-proxy/squid/squid-4.13.ebuild 2020-08-27 22:09:14.000000000 +0200 +++ /usr/local/portage/net-proxy/squid/squid-5.0.4.ebuild 2020-10-14 19:27:09.646121913 +0200 @@ -3,7 +3,8 @@ EAPI=7 -WANT_AUTOMAKE="1.15" +# works with 1.16 +# WANT_AUTOMAKE="1.15" inherit autotools flag-o-matic linux-info pam toolchain-funcs @@ -11,12 +12,12 @@ HOMEPAGE="http://www.squid-cache.org/" # Upstream patch ID for the most recent bug-fixed update to the formal release. -r= -#r=-20181117-r0022167 +#r= +r=-20200825-rf4ade365f if [ -z "$r" ]; then - SRC_URI="http://www.squid-cache.org/Versions/v${PV%.*}/${P}.tar.xz" + SRC_URI="http://www.squid-cache.org/Versions/v${PV%%.*}/${P}.tar.xz" else - SRC_URI="http://www.squid-cache.org/Versions/v${PV%.*}/${P}${r}.tar.bz2" + SRC_URI="http://www.squid-cache.org/Versions/v${PV%%.*}/${P}${r}.tar.bz2" S="${S}${r}" fi @@ -175,6 +176,7 @@ # Bug #719662 (use ppc || use arm || use hppa) && append-libs -latomic + # econf needs enable-dependency-tracking for proper Squid 5 build econf \ --sysconfdir=/etc/squid \ --libexecdir=/usr/libexec/squid \ @@ -217,7 +219,8 @@ $(use_enable wccp) \ $(use_enable wccpv2) \ ${transparent} \ - ${myconf} + ${myconf} \ + --enable-dependency-tracking } src_install() {