aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/rsync/rsync-3.1.3.ebuild')
-rw-r--r--net-misc/rsync/rsync-3.1.3.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-misc/rsync/rsync-3.1.3.ebuild b/net-misc/rsync/rsync-3.1.3.ebuild
index af6dfbd..1eddf87 100644
--- a/net-misc/rsync/rsync-3.1.3.ebuild
+++ b/net-misc/rsync/rsync-3.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -30,6 +30,12 @@ PATCHES=(
S="${WORKDIR}/${P/_/}"
+src_prepare() {
+ has_version '>=sys-devel/autoconf-2.69-r5' && PATCHES+=( "${FILESDIR}/${PN}-3.1.3-runstatedir.patch" )
+
+ default
+}
+
src_configure() {
use static && append-ldflags -static
local myeconfargs=(