media-video/mpv: enforce proper pkg-config in 9999
authorIlya Tumaykin <itumaykin@gmail.com>
Sat, 28 Jan 2017 16:35:52 +0000 (19:35 +0300)
committerDavid Seifert <soap@gentoo.org>
Sun, 29 Jan 2017 22:53:16 +0000 (23:53 +0100)
commit6d6adc6f7ab3c4d727d84669a01e56608a7cae86
tree4197cea82c499983b972bc8d39401f2530c5aea2
parent8b2224c6fc52f5a9f588984c69b29475edaaf4c1
media-video/mpv: enforce proper pkg-config in 9999

Export PKG_CONFIG.
Otherwise mpv uses waf machinery to basically do $(which pkg-config)
and then uses the result. This command is probably harmless in most
cases, but it breaks cross-compilation entirely as compiler arguments
are polluted with flags like '-L/usr/lib', which breaks e.g. linking.

Export also CC and AR.
This works fine now, but leave no chances to get screwed by waf.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3718
media-video/mpv/mpv-9999.ebuild