app-emulation/x48: Use readline:0 package
authorDavid Seifert <soap@gentoo.org>
Mon, 7 Oct 2019 08:04:49 +0000 (10:04 +0200)
committerDavid Seifert <soap@gentoo.org>
Mon, 7 Oct 2019 08:04:49 +0000 (10:04 +0200)
* x48 was using an incorrect SLOT dependency

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
app-emulation/x48/x48-0.6.4-r2.ebuild [moved from app-emulation/x48/x48-0.6.4-r1.ebuild with 91% similarity]

similarity index 91%
rename from app-emulation/x48/x48-0.6.4-r1.ebuild
rename to app-emulation/x48/x48-0.6.4-r2.ebuild
index 25255dc0248cc128040da0cedcfee15f0734a1c4..60123e66d5ad62f0f399d6c25da034d28a292b81 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit autotools
 
@@ -14,9 +14,10 @@ SLOT="0"
 KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
 IUSE="readline"
 
-RDEPEND="x11-libs/libX11
+RDEPEND="
+       x11-libs/libX11
        x11-libs/libXext
-       readline? ( sys-libs/readline:5 )"
+       readline? ( sys-libs/readline:0= )"
 DEPEND="${RDEPEND}
        virtual/pkgconfig
        x11-libs/libXt"
@@ -28,7 +29,7 @@ src_unpack() {
 }
 
 src_prepare() {
-       eapply_user
+       default
        sed -i '698s/inline/static inline/' src/emulate.c || die
        eautoreconf
 }
@@ -38,10 +39,10 @@ src_configure() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" install
+       default
+
        insinto /usr/share/"${PN}"/romdump
        doins -r romdump/{README,ROMDump*}
-       dodoc AUTHORS README ChangeLog
 }
 
 pkg_postinst() {