commit:     f2c1b80c33642d0347e8e5f6a7f38ccb5d6b8786
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 29 12:25:43 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Dec 29 13:16:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2c1b80c

app-arch/rzip: Port to EAPI 6

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-arch/rzip/rzip-2.1-r2.ebuild | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/app-arch/rzip/rzip-2.1-r2.ebuild b/app-arch/rzip/rzip-2.1-r2.ebuild
index 1c8043ac3fb..75233dfea45 100644
--- a/app-arch/rzip/rzip-2.1-r2.ebuild
+++ b/app-arch/rzip/rzip-2.1-r2.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="2"
+EAPI=6
 
-inherit autotools eutils
+inherit autotools
 
 DESCRIPTION="Compression program for large files"
 HOMEPAGE="https://rzip.samba.org/";
@@ -14,17 +14,17 @@ SLOT="0"
 KEYWORDS="amd64 hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE=""
 
-DEPEND="app-arch/bzip2"
+RDEPEND="app-arch/bzip2:="
+DEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.1-darwin.patch )
 
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-2.1-darwin.patch
+       default
+       mv configure.{in,ac} || die
        eautoreconf
 }
 
-src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed."
-}
-
 pkg_postinst() {
        ewarn "Warning: Gentoo shipped a broken rzip for quite some time. 
During"
        ewarn "compression of large files it didn't set the right file size, so"

Reply via email to