1 |
commit: f2c1b80c33642d0347e8e5f6a7f38ccb5d6b8786 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 29 12:25:43 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 29 13:16:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2c1b80c |
7 |
|
8 |
app-arch/rzip: Port to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
app-arch/rzip/rzip-2.1-r2.ebuild | 16 ++++++++-------- |
13 |
1 file changed, 8 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/app-arch/rzip/rzip-2.1-r2.ebuild b/app-arch/rzip/rzip-2.1-r2.ebuild |
16 |
index 1c8043ac3fb..75233dfea45 100644 |
17 |
--- a/app-arch/rzip/rzip-2.1-r2.ebuild |
18 |
+++ b/app-arch/rzip/rzip-2.1-r2.ebuild |
19 |
@@ -1,9 +1,9 @@ |
20 |
# Copyright 1999-2017 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI="2" |
24 |
+EAPI=6 |
25 |
|
26 |
-inherit autotools eutils |
27 |
+inherit autotools |
28 |
|
29 |
DESCRIPTION="Compression program for large files" |
30 |
HOMEPAGE="https://rzip.samba.org/" |
31 |
@@ -14,17 +14,17 @@ SLOT="0" |
32 |
KEYWORDS="amd64 hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
33 |
IUSE="" |
34 |
|
35 |
-DEPEND="app-arch/bzip2" |
36 |
+RDEPEND="app-arch/bzip2:=" |
37 |
+DEPEND="${DEPEND}" |
38 |
+ |
39 |
+PATCHES=( "${FILESDIR}"/${PN}-2.1-darwin.patch ) |
40 |
|
41 |
src_prepare() { |
42 |
- epatch "${FILESDIR}"/${PN}-2.1-darwin.patch |
43 |
+ default |
44 |
+ mv configure.{in,ac} || die |
45 |
eautoreconf |
46 |
} |
47 |
|
48 |
-src_install() { |
49 |
- emake DESTDIR="${D}" install || die "emake install failed." |
50 |
-} |
51 |
- |
52 |
pkg_postinst() { |
53 |
ewarn "Warning: Gentoo shipped a broken rzip for quite some time. During" |
54 |
ewarn "compression of large files it didn't set the right file size, so" |