Diff squidguard-1.6.0-r1 with a squidguard-1.6.0-r2
/usr/portage/net-proxy/squidguard/squidguard-1.6.0-r2.ebuild 2025-07-29 16:22:17.296467593 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2024 Gentoo Authors |
|
1 |
# Copyright 1999-2025 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit autotools db-use |
7 | 7 | |
... | ... | |
42 | 42 |
die "No suitable BerkDB versions found, aborting" |
43 | 43 |
} |
44 | 44 | |
45 |
PATCHES=( |
|
46 |
"${FILESDIR}/${P}-gentoo.patch" |
|
47 |
"${FILESDIR}/${P}-gcc-10.patch" |
|
48 |
"${FILESDIR}/${P}-stdlib.patch" |
|
49 |
"${FILESDIR}/${P}-C23.patch" |
|
50 |
) |
|
51 | ||
45 | 52 |
src_prepare() { |
46 |
eapply \ |
|
47 |
"${FILESDIR}/${P}-gentoo.patch" \ |
|
48 |
"${FILESDIR}/${P}-gcc-10.patch" \ |
|
49 |
"${FILESDIR}/${P}-stdlib.patch" |
|
53 |
default |
|
50 | 54 | |
51 | 55 |
# Link only with specific BerkDB versions |
52 | 56 |
# Do not inject default paths for library searching |
... | ... | |
56 | 60 |
-e '/$LDFLAGS $db_lib $ldap_lib/d' \ |
57 | 61 |
configure.ac || die |
58 | 62 | |
59 |
eapply_user |
|
60 | 63 |
eautoreconf |
61 | 64 | |
62 | 65 |
# Workaround for missing install-sh, bug #705374 |