commit:     bba175a2ce817e84cd02575961f78f60c6627227
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  1 19:42:39 2019 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 19:43:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bba175a2

net-wireless/iwd: stop using private systemd.eclass function

Just hardcode the modules-load.d dir instead of abusing a private eclass
function.

Closes: https://bugs.gentoo.org/699042
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 net-wireless/iwd/iwd-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/iwd/iwd-9999.ebuild b/net-wireless/iwd/iwd-9999.ebuild
index 3a599ccce34..bef22a92049 100644
--- a/net-wireless/iwd/iwd-9999.ebuild
+++ b/net-wireless/iwd/iwd-9999.ebuild
@@ -130,7 +130,7 @@ src_configure() {
                $(use_enable wired) \
                --enable-systemd-service \
                --with-systemd-unitdir="$(systemd_get_systemunitdir)" \
-               --with-systemd-modloaddir=$(_systemd_get_dir modulesloaddir 
/usr/lib/modules-load.d) \
+               --with-systemd-modloaddir="${EPREFIX}/usr/lib/modules-load.d" \
                --with-systemd-networkdir="$(systemd_get_utildir)/network"
        )
        [[ ${PV} == *9999* ]] || myeconfargs+=(--enable-external-ell)

Reply via email to