diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-08-26 20:07:05 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-08-26 20:07:05 +0200 |
commit | 12239c5a2660660d047af65e3a7bce08f395fdd2 (patch) | |
tree | 2c8d8e630b33ee3a88148e87aee8f7ac6759d39e | |
parent | 200e7670eb1b8c19cea4d5ae3cd4c5fc96848d81 (diff) | |
download | gentoo-12239c5a2660660d047af65e3a7bce08f395fdd2.tar.gz gentoo-12239c5a2660660d047af65e3a7bce08f395fdd2.tar.xz |
net-nds/rpcbind: Synced live ebuild.
Package-Manager: Portage-2.3.48, Repoman-2.3.10
-rw-r--r-- | net-nds/rpcbind/rpcbind-9999.ebuild | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/net-nds/rpcbind/rpcbind-9999.ebuild b/net-nds/rpcbind/rpcbind-9999.ebuild index 3a5262860d7..7e3bbeae8e8 100644 --- a/net-nds/rpcbind/rpcbind-9999.ebuild +++ b/net-nds/rpcbind/rpcbind-9999.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=6 -inherit eutils systemd +inherit systemd if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://linux-nfs.org/~steved/rpcbind.git" @@ -18,7 +18,7 @@ HOMEPAGE="https://sourceforge.net/projects/rpcbind/" LICENSE="BSD" SLOT="0" -IUSE="debug selinux systemd tcpd warmstarts" +IUSE="debug remotecalls selinux systemd tcpd warmstarts" REQUIRED_USE="systemd? ( warmstarts )" CDEPEND=">=net-libs/libtirpc-0.2.3:= @@ -30,17 +30,22 @@ RDEPEND="${CDEPEND} selinux? ( sec-policy/selinux-rpcbind )" src_prepare() { + default [[ ${PV} == "9999" ]] && eautoreconf - epatch_user } src_configure() { - econf \ - --with-statedir="${EPREFIX}"/run/${PN} \ - --with-systemdsystemunitdir=$(usex systemd "$(systemd_get_unitdir)" "no") \ - $(use_enable tcpd libwrap) \ - $(use_enable debug) \ + local myeconfargs=( + --bindir="${EPREFIX}"/sbin + --sbindir="${EPREFIX}"/sbin + --with-statedir="${EPREFIX}"/run/${PN} + --with-systemdsystemunitdir=$(usex systemd "$(systemd_get_systemunitdir)" "no") + $(use_enable debug) + $(use_enable remotecalls rmtcalls) $(use_enable warmstarts) + $(use_enable tcpd libwrap) + ) + econf "${myeconfargs[@]}" } src_install() { |