From 970bdc895c2c3b5ca2a1fb3c3c56c83ec97ed14f Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Sun, 17 Jan 2021 03:15:17 +0100 Subject: x11-libs/libpciaccess: Use autotools to install scanpci Closes: https://bugs.gentoo.org/765706 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Lars Wendler --- x11-libs/libpciaccess/libpciaccess-0.16.ebuild | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'x11-libs/libpciaccess') diff --git a/x11-libs/libpciaccess/libpciaccess-0.16.ebuild b/x11-libs/libpciaccess/libpciaccess-0.16.ebuild index 26d6ad0aa673..958bd5f5f287 100644 --- a/x11-libs/libpciaccess/libpciaccess-0.16.ebuild +++ b/x11-libs/libpciaccess/libpciaccess-0.16.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 XORG_MULTILIB=yes +XORG_EAUTORECONF=yes inherit xorg-3 DESCRIPTION="Library providing generic access to the PCI bus and devices" @@ -22,11 +23,8 @@ pkg_setup() { ) } -multilib_src_install() { - default - - if multilib_is_native_abi; then - dodir /usr/bin - /bin/sh libtool --mode=install "$(type -P install)" -c scanpci/scanpci "${ED}"/usr/bin || die - fi +src_prepare() { + # Let autotools install scanpci (#765706) + sed 's@^noinst_@bin_@' -i scanpci/Makefile.am || die + xorg-3_src_prepare } -- cgit v1.2.3-65-gdbad