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

x11-libs/libXaw3d: 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/libXaw3d/libXaw3d-1.6.3.ebuild | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/x11-libs/libXaw3d/libXaw3d-1.6.3.ebuild 
b/x11-libs/libXaw3d/libXaw3d-1.6.3.ebuild
index 5d7c268e916..0cc685fca9d 100644
--- a/x11-libs/libXaw3d/libXaw3d-1.6.3.ebuild
+++ b/x11-libs/libXaw3d/libXaw3d-1.6.3.ebuild
@@ -1,31 +1,33 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit xorg-2
+EAPI=7
+
+inherit xorg-3
 
 DESCRIPTION="X.Org Xaw3d library"
 
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE="unicode xpm"
 
-RDEPEND="x11-libs/libX11
+RDEPEND="
+       x11-libs/libX11
        x11-libs/libXext
        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)
                $(use_enable xpm multiplane-bitmaps)
                --enable-arrow-scrollbars
                --enable-gray-stipples
        )
-
-       xorg-2_pkg_setup
+       xorg-3_src_configure
 }

Reply via email to