From 57d56fa2c0f75b72c3b05b83b1872b762ea9d8b1 Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Mon, 2 Nov 2020 11:54:29 +0100 Subject: [PATCH] dev-libs/dbus-glib: Fix cross compile build error Use host tool when building cross. Bump revision to -r1. Adjust the patch on top of dbus-glib 0.110. Original-by: Geoff Levand 6d7756b77b10 ("dev-libs/dbus-glib: Fix cross compile build error") --- .../{dbus-glib-0.110.ebuild => dbus-glib-0.110-r1.ebuild} | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) rename sdk_container/src/third_party/coreos-overlay/dev-libs/dbus-glib/{dbus-glib-0.110.ebuild => dbus-glib-0.110-r1.ebuild} (91%) diff --git a/sdk_container/src/third_party/coreos-overlay/dev-libs/dbus-glib/dbus-glib-0.110.ebuild b/sdk_container/src/third_party/coreos-overlay/dev-libs/dbus-glib/dbus-glib-0.110-r1.ebuild similarity index 91% rename from sdk_container/src/third_party/coreos-overlay/dev-libs/dbus-glib/dbus-glib-0.110.ebuild rename to sdk_container/src/third_party/coreos-overlay/dev-libs/dbus-glib/dbus-glib-0.110-r1.ebuild index 9e47f93d6a..2540e494ef 100644 --- a/sdk_container/src/third_party/coreos-overlay/dev-libs/dbus-glib/dbus-glib-0.110.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/dev-libs/dbus-glib/dbus-glib-0.110-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz" LICENSE="|| ( GPL-2 AFL-2.1 )" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris" -IUSE="debug static-libs test" +IUSE="debug static-libs test cros_host" RESTRICT="!test? ( test )" CDEPEND=" @@ -42,6 +42,11 @@ multilib_src_configure() { $(use_enable static-libs static) ) + # Use host tool when building cross. + if ! use cros_host; then + myconf+=("--with-dbus-binding-tool=/usr/bin/dbus-binding-tool") + fi + ECONF_SOURCE="${S}" econf "${myconf[@]}" ln -s "${S}"/doc/reference/html doc/reference/html || die #460042