media-sound/wavplay: Port to EAPI 7
authorDavid Seifert <soap@gentoo.org>
Tue, 10 Dec 2019 23:48:40 +0000 (00:48 +0100)
committerDavid Seifert <soap@gentoo.org>
Tue, 10 Dec 2019 23:48:40 +0000 (00:48 +0100)
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
media-sound/wavplay/files/wavplay-2.0-pkgdata-install-fix.patch [new file with mode: 0644]
media-sound/wavplay/wavplay-2.0.ebuild

diff --git a/media-sound/wavplay/files/wavplay-2.0-pkgdata-install-fix.patch b/media-sound/wavplay/files/wavplay-2.0-pkgdata-install-fix.patch
new file mode 100644 (file)
index 0000000..2862af6
--- /dev/null
@@ -0,0 +1,9 @@
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,6 +1,5 @@
+ # src/Makefile.am for z9basic
+-dist_pkgdata_DATA = wavplay.1
+ man1_MANS = wavplay.1
index a60eb094a6de551b2ca2a1e4f7c45d5bcac1de22..4abbf1af7f6b18d138ec9dde494cf019c80e9cfc 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
 inherit autotools
 
@@ -14,8 +14,10 @@ SLOT="0"
 KEYWORDS="~amd64 x86"
 IUSE=""
 
+PATCHES=( "${FILESDIR}"/${PN}-2.0-pkgdata-install-fix.patch )
+
 src_prepare() {
-       sed -i -e "/dist_pkgdata/d" src/Makefile.am
+       default
        eautoreconf
 }