commit:     970bdc895c2c3b5ca2a1fb3c3c56c83ec97ed14f
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 17 02:15:17 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun Jan 17 02:16:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=970bdc89

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 <polynomial-c <AT> gentoo.org>

 x11-libs/libpciaccess/libpciaccess-0.16.ebuild | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/x11-libs/libpciaccess/libpciaccess-0.16.ebuild 
b/x11-libs/libpciaccess/libpciaccess-0.16.ebuild
index 26d6ad0aa67..958bd5f5f28 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
 }

Reply via email to