Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 3/8] systemd.eclass: Update the example for best practices
Date: Mon, 30 Nov 2015 15:03:27
Message-Id: 1448895682-19312-4-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-dev] [v2] systemd.eclass cleanup & EAPI 6 support by "Michał Górny"
1 ---
2 eclass/systemd.eclass | 7 +++----
3 1 file changed, 3 insertions(+), 4 deletions(-)
4
5 diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
6 index 7dd914a..72771df 100644
7 --- a/eclass/systemd.eclass
8 +++ b/eclass/systemd.eclass
9 @@ -15,13 +15,12 @@
10 # inherit systemd
11 #
12 # src_configure() {
13 -# local myeconfargs=(
14 +# local myconf=(
15 # --enable-foo
16 -# --disable-bar
17 -# "$(systemd_with_unitdir)"
18 +# --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
19 # )
20 #
21 -# econf "${myeconfargs[@]}"
22 +# econf "${myconf[@]}"
23 # }
24 # @CODE
25
26 --
27 2.6.3