x11-libs/qwt-6.1.1[mathml] installs qwtmathml.pc in /usr/$(get_libdir) instead of /usr/$(get_libdir)/pkgconfig: $ qlist x11-libs/qwt-6.1.1 | sort | grep -E "\.pc$" /usr/lib64/pkgconfig/qwt6.pc /usr/lib64/qwtmathml.pc $ pkg-config qwt6 --cflags -DQT_SHARED -I/usr/include/qwt6 -I/usr/include/qt4 -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtCore $ pkg-config qwtmathml --cflags Package qwtmathml was not found in the pkg-config search path. Perhaps you should add the directory containing `qwtmathml.pc' to the PKG_CONFIG_PATH environment variable No package 'qwtmathml' found A build-time path (-L/var/tmp/portage/...) is included in Libs.private: $ cat /usr/lib64/qwtmathml.pc prefix=/usr exec_prefix=${prefix} libdir=${prefix}/lib64 includedir=${prefix}/include/qwt6 qt_config=include_source_dir lex yacc warn_on uic resources qt warn_on release incremental link_prl gdb_dwarf_index shared def_files_disabled exceptions no_mocdepend release stl qt_no_framework release release release release release dll create_pc create_prl no_install_prl shared dll moc thread Name: qwtmathml Description: Qwt MathML renderer Version: 6.1.1 Libs: -L${libdir} -lqwtmathml Libs.private: -L/usr/lib64/qt4 -L/var/tmp/portage/x11-libs/qwt-6.1.1/work/qwt-6.1.1-shared/textengines/mathml/../../lib -lqwt6 -lQtXml -L/usr/lib64 -L/usr/lib64/qt4 -lQtGui -L/usr/X11R6/lib -lQtCore -lgthread-2.0 -lglib-2.0 -lpthread Cflags: -I${includedir} Requires: QtGui QtXml
+*qwt-6.1.2 (21 Dec 2014) + + 21 Dec 2014; Justin Lecher <jlec@gentoo.org> qwt-6.1.1.ebuild, + +qwt-6.1.2.ebuild, +files/qwt-6.1.1-pc-destdir.patch: + Version BUmp; fix location of pc files, #523490 +
The second problem is still present in x11-libs/qwt-6.1.2: -L/var/tmp/portage/x11-libs/qwt-6.1.2/work/qwt-6.1.2-shared/textengines/mathml/../../lib seen in: $ pkg-config qwtmathml --libs --static -L/var/tmp/portage/x11-libs/qwt-6.1.2/work/qwt-6.1.2-shared/textengines/mathml/../../lib -L/usr/lib64/qt4 -L/usr/X11R6/lib -L/usr/lib64/qt4 -L/usr/X11R6/lib -L/usr/lib64/qt4 -lqwtmathml -lqwt6 -lQtXml -lQtGui -lQtCore -lpthread -lQtGui -lQtCore -lpthread -lgthread-2.0 -pthread -lglib-2.0 -lpng -lz -lfreetype -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXi -lXrender -lXrandr -lXfixes -lXcursor -lfontconfig -lfreetype -lXext -lX11 -lm -lQtXml -lQtCore -lpthread -lQtCore -lpthread -lz -lm -ldl -lgthread-2.0 -pthread -lglib-2.0 -lrt
+ 24 Dec 2014; Justin Lecher <jlec@gentoo.org> qwt-6.1.2.ebuild, + files/qwt-6.1.1-pc-destdir.patch: + Add opengl support; fix wrong lib location in pc file, #523490 +