find-package: add support for newer naming of gcc and libstdc++-devel

This commit is contained in:
Gleb Fotengauer-Malinovskiy 2015-05-21 18:03:59 +03:00
parent 067436eba4
commit 39018f9f32

View File

@ -206,8 +206,9 @@ FindByFile()
if [ "$n" = 1 ]; then
# Prune generic devel deps generated by pkgconfiglib.req and cpp.req.
case $package in
gcc | gcc-c++ | gcc[345].[0-9] | gcc[345].[0-9]-c++ | \
libstdc++-devel | libstdc++[345].[0-9]-devel | glibc-devel )
gcc | gcc-c++ | gcc[34].[0-9] | gcc[34].[0-9]-c++ | \
gcc[5-9] | gcc[5-9]-c++ | libstdc++-devel | libstdc++[34].[0-9]-devel | \
libstdc++[5-9]-devel | glibc-devel )
$Verbose "$f: $rep -> $package (skip, generic devel)"
;;
*)