Fixed handling of dependencies on Gentoo. (#10382)
We should be using virtual packages in a couple of places to ensure we respect user’s choice of installed packages.
Austin S. Hemmelgarn committed
Dec 15, 2020 at 08:21 UTC
2f90dabed67801d61b33fae12494ac055a78d398
1 file changed
+3
-2
packaging/installer/install-required-packages.sh
+3
-2
@@ -900,7 +900,7 @@ declare -A pkg_pkg_config=(
900
['arch']="pkgconfig"
901
['centos']="pkgconfig"
902
['debian']="pkg-config"
903
- ['gentoo']="dev-util/pkgconfig"
903
+ ['gentoo']="virtual/pkgconfig"
904
['sabayon']="virtual/pkgconfig"
905
['rhel']="pkgconfig"
906
['suse']="pkg-config"
@@ -1209,7 +1209,8 @@ declare -A pkg_zip=(
1209
declare -A pkg_libelf=(
1210
['alpine']="elfutils-dev"
1211
['arch']="libelf"
1212
- ['gentoo']="dev-libs/libelf"
1212
+ ['gentoo']="virtual/libelf"
1213
+ ['sabayon']="virtual/libelf"
1214
['debian']="libelf-dev"
1215
['ubuntu']="libelf-dev"
1216
['fedora']="elfutils-libelf-devel"