1 |
commit: b5558e0aaa69df32e770c1dd333f783b1f73af4f |
2 |
Author: Mike Frysinger <vapier <AT> chromium <DOT> org> |
3 |
AuthorDate: Wed Jun 9 18:11:02 2021 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 9 18:14:52 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5558e0a |
7 |
|
8 |
app-arch/pbzip2: update to EAPI=7 #756880 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/756880 |
11 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
12 |
|
13 |
app-arch/pbzip2/pbzip2-1.1.13.ebuild | 13 ++++++++++--- |
14 |
1 file changed, 10 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/app-arch/pbzip2/pbzip2-1.1.13.ebuild b/app-arch/pbzip2/pbzip2-1.1.13.ebuild |
17 |
index f9ccda45462..6304e2335b9 100644 |
18 |
--- a/app-arch/pbzip2/pbzip2-1.1.13.ebuild |
19 |
+++ b/app-arch/pbzip2/pbzip2-1.1.13.ebuild |
20 |
@@ -1,9 +1,9 @@ |
21 |
# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
+EAPI="7" |
26 |
|
27 |
-inherit flag-o-matic epatch toolchain-funcs |
28 |
+inherit flag-o-matic toolchain-funcs |
29 |
|
30 |
DESCRIPTION="Parallel bzip2 (de)compressor using libbz2" |
31 |
HOMEPAGE="http://compression.ca/pbzip2/ https://launchpad.net/pbzip2" |
32 |
@@ -21,10 +21,17 @@ RDEPEND=" |
33 |
DEPEND="${RDEPEND} |
34 |
static? ( ${LIB_DEPEND} )" |
35 |
|
36 |
+PATCHES=( |
37 |
+ "${FILESDIR}"/${PN}-1.1.10-makefile.patch |
38 |
+) |
39 |
+ |
40 |
src_prepare() { |
41 |
+ default |
42 |
# https://bugs.launchpad.net/pbzip2/+bug/1746369 |
43 |
sed -i 's:"PRIuMAX":" PRIuMAX ":g' *.cpp || die |
44 |
- epatch "${FILESDIR}"/${PN}-1.1.10-makefile.patch |
45 |
+} |
46 |
+ |
47 |
+src_configure() { |
48 |
tc-export CXX |
49 |
use static && append-ldflags -static |
50 |
} |