commit:     7f9e090198f6544422c3b26b35a7e387123a13d3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 15 23:15:24 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 15 23:15:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f9e0901

x11-misc/sisctrl: modernise ebuild: BDEPEND, fix MisplacedVariable (EROOT)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-misc/sisctrl/sisctrl-0.0.20051202-r1.ebuild | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/x11-misc/sisctrl/sisctrl-0.0.20051202-r1.ebuild 
b/x11-misc/sisctrl/sisctrl-0.0.20051202-r1.ebuild
index 53c9511c8cc..eca4dc54844 100644
--- a/x11-misc/sisctrl/sisctrl-0.0.20051202-r1.ebuild
+++ b/x11-misc/sisctrl/sisctrl-0.0.20051202-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit flag-o-matic
 
 DESCRIPTION="tool that allows you to tune SiS drivers from X"
@@ -12,6 +13,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
+BDEPEND="virtual/pkgconfig"
 RDEPEND="
        dev-libs/glib:2
        x11-libs/gtk+:2
@@ -21,10 +23,11 @@ RDEPEND="
 "
 DEPEND="
        ${RDEPEND}
-       virtual/pkgconfig
        x11-base/xorg-proto
 "
-DOCS="AUTHORS ChangeLog NEWS README"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
 PATCHES=(
        "${FILESDIR}"/${P}-no-xv.patch
 )
@@ -32,5 +35,5 @@ PATCHES=(
 src_configure() {
        append-libs -lm
        econf \
-               --with-xv-path="${EROOT}/usr/$(get_libdir)"
+               --with-xv-path="${EPREFIX}/usr/$(get_libdir)"
 }

Reply via email to