summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-08-14 22:58:24 +0100
committerSam James <sam@gentoo.org>2022-08-14 22:58:33 +0100
commit14b1779c784b2966171ca83ba5ccac45ba225dc7 (patch)
tree757e3bbfe7546ec318aa593dc9cb167067bf1659 /net-misc/rsync/rsync-9999.ebuild
parentdev-lang/python: stabilize 3.9.13_p4 for arm64, bug 864743 (diff)
downloadgentoo-14b1779c784b2966171ca83ba5ccac45ba225dc7.tar.gz
gentoo-14b1779c784b2966171ca83ba5ccac45ba225dc7.tar.bz2
gentoo-14b1779c784b2966171ca83ba5ccac45ba225dc7.zip
net-misc/rsync: keep IPv6 hack for musl
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/rsync/rsync-9999.ebuild')
-rw-r--r--net-misc/rsync/rsync-9999.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-misc/rsync/rsync-9999.ebuild b/net-misc/rsync/rsync-9999.ebuild
index 21f955efb05e..b98126e7a197 100644
--- a/net-misc/rsync/rsync-9999.ebuild
+++ b/net-misc/rsync/rsync-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
-inherit prefix python-single-r1 systemd
+inherit flag-o-matic prefix python-single-r1 systemd
DESCRIPTION="File transfer program to keep remote files into sync"
HOMEPAGE="https://rsync.samba.org/"
@@ -78,6 +78,10 @@ src_prepare() {
}
src_configure() {
+ # Force enable IPv6 on musl - upstream bug:
+ # https://bugzilla.samba.org/show_bug.cgi?id=10715
+ use elibc_musl && append-cppflags -DINET6
+
local myeconfargs=(
--with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf
--without-included-popt