On 12/23/20 6:18 PM, Michael Orlitzky wrote:
Using pkg-config has a related problem. If lua-5.1 is eselected and if the upstream build system runs $(pkg-config ... lua), it's going to get the information for lua-5.1, even if you're trying to build against lua-5.2. So, first I have to patch upstream to use pkg-config, and then I have to hack it in Gentoo to avoid using pkg-config.
Sorry, I was wrong about this. Patching the upstream build system to support pkg-config does work if you use the eclasses.