diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-01-17 03:15:17 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-01-17 03:16:14 +0100 |
commit | 970bdc895c2c3b5ca2a1fb3c3c56c83ec97ed14f (patch) | |
tree | 23ec01d4ba65cd90a5f9673654047010131f4f58 /x11-libs/libpciaccess | |
parent | sys-devel/slibtool: Added live ebuild (diff) | |
download | gentoo-970bdc895c2c3b5ca2a1fb3c3c56c83ec97ed14f.tar.gz gentoo-970bdc895c2c3b5ca2a1fb3c3c56c83ec97ed14f.tar.bz2 gentoo-970bdc895c2c3b5ca2a1fb3c3c56c83ec97ed14f.zip |
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@gentoo.org>
Diffstat (limited to 'x11-libs/libpciaccess')
-rw-r--r-- | x11-libs/libpciaccess/libpciaccess-0.16.ebuild | 14 |
1 files changed, 6 insertions, 8 deletions
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 } |