summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-05-02 01:55:06 +0200
committerMatt Turner <mattst88@gentoo.org>2021-05-02 11:24:47 -0400
commit77e1cad3112bf9788497d2799093072ef0437009 (patch)
tree3a727e3487510a6195e528ddf96b5aa0bd27a61c /x11-libs/libpciaccess
parentx11-libs/libICE: Define XORG_CONFIGURE_OPTIONS in src_configure (diff)
downloadgentoo-77e1cad3112bf9788497d2799093072ef0437009.tar.gz
gentoo-77e1cad3112bf9788497d2799093072ef0437009.tar.bz2
gentoo-77e1cad3112bf9788497d2799093072ef0437009.zip
x11-libs/libpciaccess: Define XORG_CONFIGURE_OPTIONS in src_configure
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-libs/libpciaccess')
-rw-r--r--x11-libs/libpciaccess/libpciaccess-0.16.ebuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/x11-libs/libpciaccess/libpciaccess-0.16.ebuild b/x11-libs/libpciaccess/libpciaccess-0.16.ebuild
index 934d5c999f02..784b93f61478 100644
--- a/x11-libs/libpciaccess/libpciaccess-0.16.ebuild
+++ b/x11-libs/libpciaccess/libpciaccess-0.16.ebuild
@@ -16,15 +16,16 @@ DEPEND="
RDEPEND="${DEPEND}
sys-apps/hwids"
-pkg_setup() {
- XORG_CONFIGURE_OPTIONS=(
- "$(use_with zlib)"
- "--with-pciids-path=${EPREFIX}/usr/share/misc"
- )
-}
-
src_prepare() {
# Let autotools install scanpci (#765706)
sed 's@^noinst_@bin_@' -i scanpci/Makefile.am || die
xorg-3_src_prepare
}
+
+src_configure() {
+ local XORG_CONFIGURE_OPTIONS=(
+ $(use_with zlib)
+ --with-pciids-path="${EPREFIX}"/usr/share/misc
+ )
+ xorg-3_src_configure
+}