commit:     314887d18d26fd62e8021b7093d8e7cd1f9681f9
Author:     sin-ack <sin-ack <AT> protonmail <DOT> com>
AuthorDate: Sat Nov 23 21:54:32 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec  1 11:45:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=314887d1

dev-cpp/folly: install cmake files in the correct libdir

All Facebook packages unconditionally install libraries to PREFIX/lib,
which triggers multilib checks. The checks don't trigger for stuff like
CMake files though, so this was missed. This matches the other Facebook
packages like Watchman and its dependencies.

Signed-off-by: sin-ack <sin-ack <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{folly-2024.11.04.00-r1.ebuild => folly-2024.11.04.00-r2.ebuild}     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-cpp/folly/folly-2024.11.04.00-r1.ebuild 
b/dev-cpp/folly/folly-2024.11.04.00-r2.ebuild
similarity index 97%
rename from dev-cpp/folly/folly-2024.11.04.00-r1.ebuild
rename to dev-cpp/folly/folly-2024.11.04.00-r2.ebuild
index fd2b8493af92..44a95b28d09a 100644
--- a/dev-cpp/folly/folly-2024.11.04.00-r1.ebuild
+++ b/dev-cpp/folly/folly-2024.11.04.00-r2.ebuild
@@ -67,6 +67,7 @@ src_unpack() {
 src_configure() {
        # TODO: liburing could in theory be optional but fails to link
        local mycmakeargs=(
+               -DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}"
                -DLIB_INSTALL_DIR="$(get_libdir)"
 
                -DBUILD_TESTS=$(usex test)

Reply via email to