commit:     adb3e22a996e1fceb131e4423eab933e76ce39d5
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 20:01:36 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 20:01:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adb3e22a

x11-libs/libXaw3dXft: Port to EAPI 7

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 x11-libs/libXaw3dXft/libXaw3dXft-1.6.2d.ebuild | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/x11-libs/libXaw3dXft/libXaw3dXft-1.6.2d.ebuild 
b/x11-libs/libXaw3dXft/libXaw3dXft-1.6.2d.ebuild
index 705b95f8aae..3523c3b1a0b 100644
--- a/x11-libs/libXaw3dXft/libXaw3dXft-1.6.2d.ebuild
+++ b/x11-libs/libXaw3dXft/libXaw3dXft-1.6.2d.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit xorg-2
+inherit xorg-3
 
 DESCRIPTION="Xaw3dXft library"
 HOMEPAGE="https://sourceforge.net/projects/sf-xpaint";
@@ -12,24 +12,25 @@ SRC_URI="mirror://sourceforge/sf-xpaint/${P}.tar.bz2"
 KEYWORDS="amd64 x86"
 IUSE="unicode xpm"
 
-RDEPEND="x11-libs/libX11
+RDEPEND="
+       x11-libs/libX11
        x11-libs/libXext
        x11-libs/libXft
        x11-libs/libXmu
        x11-libs/libXt
        xpm? ( x11-libs/libXpm )"
 DEPEND="${RDEPEND}
-       sys-devel/flex
-       virtual/yacc
        x11-base/xorg-proto"
+BDEPEND="
+       sys-devel/flex
+       virtual/yacc"
 
-pkg_setup() {
-       XORG_CONFIGURE_OPTIONS=(
+src_configure() {
+       local XORG_CONFIGURE_OPTIONS=(
                $(use_enable unicode internationalization)
                $(usex xpm "--enable-multiplane-bitmaps" "")
                --enable-arrow-scrollbars
                --enable-gray-stipples
        )
-
-       xorg-2_pkg_setup
+       xorg-3_src_configure
 }

Reply via email to