diff options
Diffstat (limited to 'sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-9999.ebuild')
-rw-r--r-- | sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-9999.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-9999.ebuild b/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-9999.ebuild index 7983540e7260..0d5b07883d97 100644 --- a/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-9999.ebuild +++ b/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-9999.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +inherit systemd + if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoo-systemd-integration.git" inherit autotools git-r3 @@ -28,3 +30,11 @@ src_prepare() { default [[ ${PV} != 9999 ]] || eautoreconf } + +src_configure() { + local myconf=( + --with-systemdsystemgeneratordir="$(systemd_get_systemgeneratordir)" + --with-systemdsystempresetdir="$(systemd_get_systempresetdir)" + ) + econf "${myconf[@]}" +} |