1 |
commit: 9469bb34a761896acd3335f30e26cc8e1550b8ac |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Mon Jan 8 19:19:23 2018 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 8 21:29:37 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9469bb34 |
7 |
|
8 |
net-misc/cadaver: Use EAPI="6". |
9 |
|
10 |
net-misc/cadaver/cadaver-0.23.3.ebuild | 18 ++++++++---------- |
11 |
.../cadaver/files/cadaver-0.23.2-disable-nls.patch | 8 ++++---- |
12 |
2 files changed, 12 insertions(+), 14 deletions(-) |
13 |
|
14 |
diff --git a/net-misc/cadaver/cadaver-0.23.3.ebuild b/net-misc/cadaver/cadaver-0.23.3.ebuild |
15 |
index 89897109b85..0401ea0f0ca 100644 |
16 |
--- a/net-misc/cadaver/cadaver-0.23.3.ebuild |
17 |
+++ b/net-misc/cadaver/cadaver-0.23.3.ebuild |
18 |
@@ -1,9 +1,9 @@ |
19 |
-# Copyright 1999-2014 Gentoo Foundation |
20 |
+# Copyright 1999-2018 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI="3" |
24 |
+EAPI="6" |
25 |
|
26 |
-inherit autotools eutils |
27 |
+inherit autotools |
28 |
|
29 |
DESCRIPTION="Command-line WebDAV client" |
30 |
HOMEPAGE="http://www.webdav.org/cadaver" |
31 |
@@ -18,10 +18,13 @@ RDEPEND=">=net-libs/neon-0.27.0" |
32 |
DEPEND="${RDEPEND} |
33 |
sys-devel/gettext" |
34 |
|
35 |
+DOCS=(BUGS ChangeLog FAQ NEWS README THANKS TODO) |
36 |
+ |
37 |
src_prepare() { |
38 |
- epatch "${FILESDIR}/${PN}-0.23.2-disable-nls.patch" |
39 |
+ eapply "${FILESDIR}/${PN}-0.23.2-disable-nls.patch" |
40 |
+ eapply_user |
41 |
|
42 |
- rm -fr lib/{expat,intl,neon} |
43 |
+ rm -r lib/{expat,intl,neon} || die "rm failed" |
44 |
sed \ |
45 |
-e "/NE_REQUIRE_VERSIONS/s/29/& 30/" \ |
46 |
-e "s:lib/neon/Makefile lib/intl/Makefile ::" \ |
47 |
@@ -37,8 +40,3 @@ src_configure() { |
48 |
$(use_enable nls) \ |
49 |
--with-libs=/usr |
50 |
} |
51 |
- |
52 |
-src_install () { |
53 |
- emake DESTDIR="${D}" install || die "emake install failed" |
54 |
- dodoc BUGS ChangeLog FAQ NEWS README THANKS TODO |
55 |
-} |
56 |
|
57 |
diff --git a/net-misc/cadaver/files/cadaver-0.23.2-disable-nls.patch b/net-misc/cadaver/files/cadaver-0.23.2-disable-nls.patch |
58 |
index 6610d479b30..ead3d70553b 100644 |
59 |
--- a/net-misc/cadaver/files/cadaver-0.23.2-disable-nls.patch |
60 |
+++ b/net-misc/cadaver/files/cadaver-0.23.2-disable-nls.patch |
61 |
@@ -1,12 +1,12 @@ |
62 |
Fix building with --disable-nls. |
63 |
---- src/cadaver.c.~1~ 2007-08-22 14:17:27.000000000 +0200 |
64 |
-+++ src/cadaver.c 2008-03-29 08:58:57.248793293 +0100 |
65 |
-@@ -838,11 +838,12 @@ |
66 |
+ |
67 |
+--- /src/cadaver.c |
68 |
++++ /src/cadaver.c |
69 |
+@@ -838,11 +838,11 @@ |
70 |
|
71 |
progname = argv[0]; |
72 |
|
73 |
+#ifdef ENABLE_NLS |
74 |
-+ |
75 |
#ifdef HAVE_SETLOCALE |
76 |
setlocale(LC_ALL, ""); |
77 |
#endif |