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 <geoff@infradead.org>
  6d7756b77b10 ("dev-libs/dbus-glib: Fix cross compile build error")
This commit is contained in:
Dongsu Park 2020-11-02 11:54:29 +01:00
parent e4cb197be5
commit 57d56fa2c0

View File

@ -11,7 +11,7 @@ SRC_URI="https://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz"
LICENSE="|| ( GPL-2 AFL-2.1 )" LICENSE="|| ( GPL-2 AFL-2.1 )"
SLOT="0" 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" 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 )" RESTRICT="!test? ( test )"
CDEPEND=" CDEPEND="
@ -42,6 +42,11 @@ multilib_src_configure() {
$(use_enable static-libs static) $(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[@]}" ECONF_SOURCE="${S}" econf "${myconf[@]}"
ln -s "${S}"/doc/reference/html doc/reference/html || die #460042 ln -s "${S}"/doc/reference/html doc/reference/html || die #460042