mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
app-backup/tarsnap: respect AR
Closes: https://bugs.gentoo.org/721914 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
https://bugs.gentoo.org/721914
|
||||
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -124,7 +124,7 @@ CONFIG_HEADER = config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
LIBRARIES = $(noinst_LIBRARIES)
|
||||
-AR = ar
|
||||
+AR := ar
|
||||
ARFLAGS = cru
|
||||
AM_V_AR = $(am__v_AR_@AM_V@)
|
||||
am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit bash-completion-r1
|
||||
inherit bash-completion-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Online backups for the truly paranoid"
|
||||
HOMEPAGE="https://www.tarsnap.com/"
|
||||
@@ -26,6 +26,8 @@ RDEPEND="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/os-headers" # Required for "magic.h"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.0.39-respect-AR.patch )
|
||||
|
||||
S=${WORKDIR}/${PN}-autoconf-${PV}
|
||||
|
||||
src_configure() {
|
||||
@@ -37,6 +39,10 @@ src_configure() {
|
||||
$(use_with lzma)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR=$(tc-getAR)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobashcomp misc/bash_completion.d/*
|
||||
|
||||
Reference in New Issue
Block a user