1 |
commit: 2073611d95d4975e502e9603ea30698baee356db |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 27 14:27:55 2015 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 1 22:07:17 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2073611d |
7 |
|
8 |
systemd.eclass: Update the example for best practices |
9 |
|
10 |
eclass/systemd.eclass | 7 +++---- |
11 |
1 file changed, 3 insertions(+), 4 deletions(-) |
12 |
|
13 |
diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass |
14 |
index 7dd914a..72771df 100644 |
15 |
--- a/eclass/systemd.eclass |
16 |
+++ b/eclass/systemd.eclass |
17 |
@@ -15,13 +15,12 @@ |
18 |
# inherit systemd |
19 |
# |
20 |
# src_configure() { |
21 |
-# local myeconfargs=( |
22 |
+# local myconf=( |
23 |
# --enable-foo |
24 |
-# --disable-bar |
25 |
-# "$(systemd_with_unitdir)" |
26 |
+# --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
27 |
# ) |
28 |
# |
29 |
-# econf "${myeconfargs[@]}" |
30 |
+# econf "${myconf[@]}" |
31 |
# } |
32 |
# @CODE |