diff options
-rw-r--r-- | net-fs/davfs2/davfs2-1.6.0-r1.ebuild (renamed from net-fs/davfs2/davfs2-1.6.0.ebuild) | 13 | ||||
-rw-r--r-- | net-fs/davfs2/davfs2-1.6.1-r1.ebuild (renamed from net-fs/davfs2/davfs2-1.6.1.ebuild) | 0 |
2 files changed, 10 insertions, 3 deletions
diff --git a/net-fs/davfs2/davfs2-1.6.0.ebuild b/net-fs/davfs2/davfs2-1.6.0-r1.ebuild index 67767035ccb4..fdd0b7931658 100644 --- a/net-fs/davfs2/davfs2-1.6.0.ebuild +++ b/net-fs/davfs2/davfs2-1.6.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ppc x86" -IUSE="nls" +IUSE="nls split-usr" RESTRICT="test" RDEPEND="dev-libs/libxml2 @@ -45,7 +45,14 @@ src_prepare() { } src_configure() { - econf --enable-largefile $(use_enable nls) + local ssbindir + if use split-usr; then + ssbindir=${EPREFIX}/sbin + else + ssbindir=${EPREFIX}/usr/sbin + fi + + econf --enable-largefile $(use_enable nls) ssbindir="${ssbindir}" } pkg_postinst() { diff --git a/net-fs/davfs2/davfs2-1.6.1.ebuild b/net-fs/davfs2/davfs2-1.6.1-r1.ebuild index 973dc3c12987..973dc3c12987 100644 --- a/net-fs/davfs2/davfs2-1.6.1.ebuild +++ b/net-fs/davfs2/davfs2-1.6.1-r1.ebuild |