diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-02-13 23:51:57 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-02-13 23:51:57 +0100 |
commit | ed6158a6321d9c49c3427173173e63ca7c83eb85 (patch) | |
tree | 4f2482977100435b7d5ddd78e4483db1e70f2a1f /net-p2p/opendchub | |
parent | dev-libs/openspecfun: Remove old (diff) | |
download | gentoo-ed6158a6321d9c49c3427173173e63ca7c83eb85.tar.gz gentoo-ed6158a6321d9c49c3427173173e63ca7c83eb85.tar.bz2 gentoo-ed6158a6321d9c49c3427173173e63ca7c83eb85.zip |
net-p2p/opendchub: Port to EAPI 7
Closes: https://bugs.gentoo.org/770352
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-p2p/opendchub')
-rw-r--r-- | net-p2p/opendchub/files/opendchub-0.8.2-telnet.patch | 4 | ||||
-rw-r--r-- | net-p2p/opendchub/opendchub-0.8.2.ebuild | 17 |
2 files changed, 10 insertions, 11 deletions
diff --git a/net-p2p/opendchub/files/opendchub-0.8.2-telnet.patch b/net-p2p/opendchub/files/opendchub-0.8.2-telnet.patch index f81bf44cbc69..c8efc525ed65 100644 --- a/net-p2p/opendchub/files/opendchub-0.8.2-telnet.patch +++ b/net-p2p/opendchub/files/opendchub-0.8.2-telnet.patch @@ -1,5 +1,5 @@ ---- opendchub-0.8.2/src/main.c.orig -+++ opendchub-0.8.2/src/main.c +--- a/src/main.c ++++ b/src/main.c @@ -1073,7 +1073,7 @@ /* The chat command, starts with <nick> */ else if(*temp == '<') diff --git a/net-p2p/opendchub/opendchub-0.8.2.ebuild b/net-p2p/opendchub/opendchub-0.8.2.ebuild index 0e6df9059519..047e913aefc7 100644 --- a/net-p2p/opendchub/opendchub-0.8.2.ebuild +++ b/net-p2p/opendchub/opendchub-0.8.2.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit autotools eutils flag-o-matic +inherit autotools flag-o-matic DESCRIPTION="hub software for Direct Connect" HOMEPAGE="http://opendchub.sf.net" @@ -17,34 +17,33 @@ IUSE="perl" RDEPEND="perl? ( dev-lang/perl )" DEPEND="${RDEPEND}" -DOCS="NEWS TODO README AUTHORS Documentation/*" +PATCHES=( "${FILESDIR}"/${P}-telnet.patch ) src_prepare() { - epatch "${FILESDIR}"/${P}-telnet.patch + default eautoreconf } src_configure() { - add-flags -fcommon + append-cflags -fcommon use perl || myconf="--disable-perl --enable-switch_user" econf ${myconf} } src_install() { default + dodoc -r Documentation/. - if use perl ; then + if use perl; then dobin "${FILESDIR}"/opendchub_setup.sh insinto /usr/share/opendchub/scripts - doins Samplescripts/* + doins -r Samplescripts/. fi } pkg_postinst() { if use perl ; then - echo einfo "To set up perl scripts for opendchub to use, please run" einfo "opendchub_setup.sh as the user you will be using opendchub as." - echo fi } |