commit:     dc125b4004b189c1b09e45e1d9b803d574718c23
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Wed Sep  2 20:10:00 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 13 21:17:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc125b40

net-libs/libwebsockets: set LWS_DBUS_INCLUDE2

CMake only looks for dbus-arch-deps.h at /usr/lib64, so we have to
manually set LWS_DBUS_INCLUDE2 for 32-bit systems where it is located at
/usr/lib

Closes: https://bugs.gentoo.org/740090
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/17389
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libwebsockets/libwebsockets-4.0.20.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net-libs/libwebsockets/libwebsockets-4.0.20.ebuild 
b/net-libs/libwebsockets/libwebsockets-4.0.20.ebuild
index 2fa0810a12e..b0d538ff906 100644
--- a/net-libs/libwebsockets/libwebsockets-4.0.20.ebuild
+++ b/net-libs/libwebsockets/libwebsockets-4.0.20.ebuild
@@ -82,5 +82,7 @@ src_configure() {
                -DLWS_WITHOUT_TESTAPPS=ON
        )
 
+       use dbus && mycmakeargs+=( 
-DLWS_DBUS_INCLUDE2="/usr/$(get_libdir)/dbus-1.0/include" )
+
        cmake_src_configure
 }

Reply via email to