mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 14:03:33 -04:00
net-wireless/eiwd: update to PR #16160
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools flag-o-matic git-r3
|
||||
inherit autotools git-r3
|
||||
|
||||
MY_PV="$(ver_rs 2 '-')"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
@@ -16,11 +16,10 @@ EGIT_COMMIT="7b5545a"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="+client +monitor ofono +resolvconf +system-ell wired"
|
||||
IUSE="+client +monitor ofono +system-ell wired"
|
||||
|
||||
DEPEND="system-ell? ( >=dev-libs/ell-0.31 )"
|
||||
RDEPEND="${DEPEND}
|
||||
resolvconf? ( || ( net-dns/openresolv net-misc/dhcpcd ) )
|
||||
!net-wireless/iwd
|
||||
net-wireless/wireless-regdb"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
@@ -33,7 +32,6 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cflags "-fsigned-char"
|
||||
local myeconfargs=(
|
||||
--sysconfdir="${EPREFIX}"/etc/iwd --localstatedir="${EPREFIX}"/var
|
||||
--disable-dbus
|
||||
@@ -50,8 +48,11 @@ src_install() {
|
||||
default
|
||||
keepdir /var/lib/iwd
|
||||
newinitd "${FILESDIR}"/iwd.initd iwd
|
||||
if use resolvconf ; then
|
||||
insinto /etc/iwd/
|
||||
doins "${FILESDIR}"/main.conf
|
||||
fi
|
||||
insinto /etc/iwd/
|
||||
doins "${FILESDIR}"/main.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To use eiwd's built-in DNS features you also need net-dns/openresolv"
|
||||
elog "or net-misc/dhcpcd."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user