Diff nDPI-4.4 with a nDPI-4.6
/usr/portage/net-libs/nDPI/nDPI-4.6.ebuild 2023-10-09 14:52:34.596368479 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
... | ... | |
27 | 27 |
src_prepare() { |
28 | 28 |
default |
29 | 29 | |
30 |
sed -i \ |
|
31 |
-e "s%^libdir\s*=\s*\${prefix}/lib\s*$%libdir = \${prefix}/$(get_libdir)%" \ |
|
32 |
src/lib/Makefile.in || die |
|
33 | ||
34 | 30 |
eautoreconf |
35 | 31 |
} |
36 | 32 | |
... | ... | |
52 | 48 |
src_install() { |
53 | 49 |
default |
54 | 50 | |
51 |
# Makefile logic is broken in 4.6, let's wait a bit given history and |
|
52 |
# go with hack for now. |
|
53 |
mv "${ED}"/usr/$(get_libdir)/pkgconfig "${ED}"/usr/usr/$(get_libdir)/pkgconfig || die |
|
54 |
mv "${ED}"/usr/usr/* "${ED}"/usr || die |
|
55 | 55 |
rm "${ED}/usr/$(get_libdir)"/lib${PN,,}.a || die |
56 |
rm -rf "${ED}"/usr/usr || die |
|
56 | 57 |
} |