net-misc/rsync-3.2.3-r5: fix IPv6 support using musl

Closes: https://bugs.gentoo.org/609694
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
Fabian Groffen
2021-12-30 11:39:24 +01:00
parent 55791e671f
commit 883377500a
2 changed files with 10 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ fi
WANT_LIBTOOL=none
inherit autotools prefix systemd
inherit autotools flag-o-matic prefix systemd
DESCRIPTION="File transfer program to keep remote files into sync"
HOMEPAGE="https://rsync.samba.org/"
@@ -47,6 +47,10 @@ src_prepare() {
}
src_configure() {
# Force enable IPv6 on musl - upstream bug:
# https://bugzilla.samba.org/show_bug.cgi?id=10715
use elibc_musl && use ipv6 && append-cppflags -DINET6
local myeconfargs=(
--with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf
--without-included-popt

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit prefix systemd
inherit flag-o-matic prefix systemd
DESCRIPTION="File transfer program to keep remote files into sync"
HOMEPAGE="https://rsync.samba.org/"
@@ -59,6 +59,10 @@ src_prepare() {
}
src_configure() {
# Force enable IPv6 on musl - upstream bug:
# https://bugzilla.samba.org/show_bug.cgi?id=10715
use elibc_musl && use ipv6 && append-cppflags -DINET6
local myeconfargs=(
--with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf
--without-included-popt