Created attachment 439868 [details, diff] Patch replaces some string in src_install() section, that generate .pc file. There are two $ signs in metis-5.1.0-r1 ebuild, that must be screened. Proposed patch is attached.
Thank you Gerhard Bräunlich and Viacheslav Ostroukh for the fix. commit 256a394606b6ace12bd42fecfc542f277b525473 Author: Gerhard Bräunlich <wippbox@gmx.net> Date: Thu Aug 11 16:11:12 2016 +0200 sci-libs/metis: Produce standard pkg-config file Gentoo-bug: 588148 Package-Manager: portage-2.2.28 Patch by Viacheslav Ostroukh Closes: https://github.com/gentoo/gentoo/pull/2069 Signed-off-by: David Seifert <soap@gentoo.org>