1 |
commit: e733bac105ec79e7ef2d9bc1bb820f2a884d0426 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 21 10:53:21 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 21 10:54:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e733bac1 |
7 |
|
8 |
app-arch/star: Revbump to add dependency on sys-libs/libcap |
9 |
|
10 |
Also bumped ebuild to EAPI-7 |
11 |
Bumped straight to stable. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/628070 |
14 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
15 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
16 |
|
17 |
.../{star-1.5.3.ebuild => star-1.5.3-r1.ebuild} | 22 ++++++++++++++++------ |
18 |
1 file changed, 16 insertions(+), 6 deletions(-) |
19 |
|
20 |
diff --git a/app-arch/star/star-1.5.3.ebuild b/app-arch/star/star-1.5.3-r1.ebuild |
21 |
similarity index 87% |
22 |
rename from app-arch/star/star-1.5.3.ebuild |
23 |
rename to app-arch/star/star-1.5.3-r1.ebuild |
24 |
index f841e026ddc..480ce97a432 100644 |
25 |
--- a/app-arch/star/star-1.5.3.ebuild |
26 |
+++ b/app-arch/star/star-1.5.3-r1.ebuild |
27 |
@@ -1,9 +1,9 @@ |
28 |
-# Copyright 1999-2015 Gentoo Foundation |
29 |
+# Copyright 1999-2018 Gentoo Authors |
30 |
# Distributed under the terms of the GNU General Public License v2 |
31 |
|
32 |
-EAPI=5 |
33 |
+EAPI=7 |
34 |
|
35 |
-inherit eutils toolchain-funcs |
36 |
+inherit toolchain-funcs |
37 |
|
38 |
DESCRIPTION="An enhanced (world's fastest) tar, as well as enhanced mt/rmt" |
39 |
HOMEPAGE="http://s-tar.sourceforge.net/" |
40 |
@@ -15,13 +15,16 @@ KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linu |
41 |
IUSE="acl xattr" |
42 |
|
43 |
DEPEND=" |
44 |
+ sys-libs/libcap |
45 |
acl? ( sys-apps/acl ) |
46 |
xattr? ( sys-apps/attr )" |
47 |
RDEPEND="${DEPEND}" |
48 |
|
49 |
-S=${WORKDIR}/${P/_alpha[0-9][0-9]} |
50 |
+S="${WORKDIR}/${P/_alpha[0-9][0-9]}" |
51 |
|
52 |
src_prepare() { |
53 |
+ default |
54 |
+ |
55 |
find -type f -exec chmod -c u+w '{}' + || die |
56 |
sed \ |
57 |
-e "s:/opt/schily:${EPREFIX}/usr:g" \ |
58 |
@@ -33,15 +36,21 @@ src_prepare() { |
59 |
if use acl; then |
60 |
sed \ |
61 |
-e 's:[$]ac_cv_header_sys_acl_h:disable acl:' \ |
62 |
- -i "${S}/autoconf/configure" || die |
63 |
+ -i autoconf/configure || die |
64 |
fi |
65 |
|
66 |
if use xattr; then |
67 |
sed \ |
68 |
-e 's:[$]ac_cv_header_attr_xattr_h:disable xattr:' \ |
69 |
- -i "${S}/autoconf/configure" || die |
70 |
+ -i autoconf/configure || die |
71 |
fi |
72 |
|
73 |
+ # "echo -n" is not POSIX compliant |
74 |
+ sed \ |
75 |
+ -e 's@echo $ac_n@printf@' \ |
76 |
+ -e '/printf/s@$ac_c@@g' \ |
77 |
+ -i autoconf/configure || die |
78 |
+ |
79 |
# Create additional symlinks needed for some archs. |
80 |
pushd "${S}/RULES" > /dev/null |
81 |
local t |
82 |
@@ -56,6 +65,7 @@ src_configure() { :; } #avoid ./configure run |
83 |
|
84 |
src_compile() { |
85 |
emake \ |
86 |
+ GMAKE_NOWARN="true" \ |
87 |
CC="$(tc-getCC)" \ |
88 |
COPTX="${CFLAGS}" \ |
89 |
CPPOPTX="${CPPFLAGS}" \ |