1 |
commit: bcd1e284afaeae01d6fd65d06e5e2d9f6dcc9f9c |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 22 16:24:24 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 22 16:28:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcd1e284 |
7 |
|
8 |
app-backup/tarsnap: respect AR |
9 |
|
10 |
Closes: https://bugs.gentoo.org/721914 |
11 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
app-backup/tarsnap/files/tarsnap-1.0.39-respect-AR.patch | 14 ++++++++++++++ |
15 |
app-backup/tarsnap/tarsnap-1.0.39.ebuild | 10 ++++++++-- |
16 |
2 files changed, 22 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/app-backup/tarsnap/files/tarsnap-1.0.39-respect-AR.patch b/app-backup/tarsnap/files/tarsnap-1.0.39-respect-AR.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..f5a1115f161 |
21 |
--- /dev/null |
22 |
+++ b/app-backup/tarsnap/files/tarsnap-1.0.39-respect-AR.patch |
23 |
@@ -0,0 +1,14 @@ |
24 |
+https://bugs.gentoo.org/721914 |
25 |
+ |
26 |
+--- a/Makefile.in |
27 |
++++ b/Makefile.in |
28 |
+@@ -124,7 +124,7 @@ CONFIG_HEADER = config.h |
29 |
+ CONFIG_CLEAN_FILES = |
30 |
+ CONFIG_CLEAN_VPATH_FILES = |
31 |
+ LIBRARIES = $(noinst_LIBRARIES) |
32 |
+-AR = ar |
33 |
++AR := ar |
34 |
+ ARFLAGS = cru |
35 |
+ AM_V_AR = $(am__v_AR_@AM_V@) |
36 |
+ am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) |
37 |
+ |
38 |
|
39 |
diff --git a/app-backup/tarsnap/tarsnap-1.0.39.ebuild b/app-backup/tarsnap/tarsnap-1.0.39.ebuild |
40 |
index 42bf7639963..2d6ba5fde74 100644 |
41 |
--- a/app-backup/tarsnap/tarsnap-1.0.39.ebuild |
42 |
+++ b/app-backup/tarsnap/tarsnap-1.0.39.ebuild |
43 |
@@ -1,9 +1,9 @@ |
44 |
-# Copyright 1999-2018 Gentoo Authors |
45 |
+# Copyright 1999-2020 Gentoo Authors |
46 |
# Distributed under the terms of the GNU General Public License v2 |
47 |
|
48 |
EAPI="7" |
49 |
|
50 |
-inherit bash-completion-r1 |
51 |
+inherit bash-completion-r1 toolchain-funcs |
52 |
|
53 |
DESCRIPTION="Online backups for the truly paranoid" |
54 |
HOMEPAGE="https://www.tarsnap.com/" |
55 |
@@ -26,6 +26,8 @@ RDEPEND=" |
56 |
DEPEND="${RDEPEND} |
57 |
virtual/os-headers" # Required for "magic.h" |
58 |
|
59 |
+PATCHES=( "${FILESDIR}"/${PN}-1.0.39-respect-AR.patch ) |
60 |
+ |
61 |
S=${WORKDIR}/${PN}-autoconf-${PV} |
62 |
|
63 |
src_configure() { |
64 |
@@ -37,6 +39,10 @@ src_configure() { |
65 |
$(use_with lzma) |
66 |
} |
67 |
|
68 |
+src_compile() { |
69 |
+ emake AR=$(tc-getAR) |
70 |
+} |
71 |
+ |
72 |
src_install() { |
73 |
default |
74 |
dobashcomp misc/bash_completion.d/* |