trusteddomainproject / OpenDKIM

Other
97 stars 52 forks source link

Drop or reorder lua5.1 pkg-config check #111

Open orlitzky opened 3 years ago

orlitzky commented 3 years ago

In https://github.com/trusteddomainproject/OpenDKIM/issues/62, I left the existing lua5.1 pkg-config check alone because "it didn't hurt anything." But, now it does. We finally have the ability to install multiple versions of Lua side-by-side in Gentoo. Having the unofficial lua5.1.pc check come before the official lua.pc check now means that lua-5.1 will be detected and used by OpenDKIM even if the user intends to use, say, lua-5.2 with its pkg-config file installed as the official lua.pc.

Solution: drop the lua5.1.pc check, or at least move if after the lua.pc check. (Note: OpenDKIM seems to work with lua-5.2 as well.)