commit:     7ab4763ae11611a921ea5fa1784e656fb6d084b0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 20 01:40:34 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 20 01:42:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ab4763a

x11-misc/xdock: port to EAPI 7

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

 x11-misc/xdock/xdock-0.3.0.ebuild | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/x11-misc/xdock/xdock-0.3.0.ebuild 
b/x11-misc/xdock/xdock-0.3.0.ebuild
index 6cf304a5efb..dad806f3220 100644
--- a/x11-misc/xdock/xdock-0.3.0.ebuild
+++ b/x11-misc/xdock/xdock-0.3.0.ebuild
@@ -1,25 +1,30 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit autotools epatch
+EAPI=7
 
-DESCRIPTION="emulates Window Maker docks (runs in any window manager)"
+inherit autotools
+
+DESCRIPTION="Emulates Window Maker docks (runs in any window manager)"
 HOMEPAGE="http://xdock.sourceforge.net";
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 RDEPEND="x11-libs/libX11"
 DEPEND="${RDEPEND}"
 
 DOCS=( API AUTHORS ChangeLog README TODO )
 
+PATCHES=(
+       "${FILESDIR}"/${PN}-0.2.0-ldconfig.patch
+)
+
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-0.2.0-ldconfig.patch
+       default
+
        sed -i -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' configure.ac || die
        eautoreconf
 }

Reply via email to