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/7] systemd.eclass: Remove long-deprecated systemd_to_myeconfargs
Date: Fri, 27 Nov 2015 14:57:07
Message-Id: 1448636008-13184-4-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCHES] systemd.eclass: Clean up & EAPI 6 support by "Michał Górny"
1 Remove systemd_to_myeconfargs function that was supposed to be removed
2 2013-10-11. It is no longer used by any ebuild in the repository.
3 ---
4 eclass/systemd.eclass | 19 +------------------
5 1 file changed, 1 insertion(+), 18 deletions(-)
6
7 diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
8 index ed787c3..0b2cc8e 100644
9 --- a/eclass/systemd.eclass
10 +++ b/eclass/systemd.eclass
11 @@ -25,7 +25,7 @@
12 # }
13 # @CODE
14
15 -inherit eutils toolchain-funcs
16 +inherit toolchain-funcs
17
18 case ${EAPI:-0} in
19 0|1|2|3|4|5) ;;
20 @@ -331,23 +331,6 @@ systemd_with_utildir() {
21 echo --with-systemdutildir="$(systemd_get_utildir)"
22 }
23
24 -# @FUNCTION: systemd_to_myeconfargs
25 -# @DESCRIPTION:
26 -# Add '--with-systemdsystemunitdir' as expected by systemd-aware configure
27 -# scripts to the myeconfargs variable used by autotools-utils eclass. Handles
28 -# quoting automatically.
29 -systemd_to_myeconfargs() {
30 - debug-print-function ${FUNCNAME} "${@}"
31 -
32 - eqawarn 'systemd_to_myeconfargs() is deprecated and will be removed on 2013-10-11.'
33 - eqawarn 'Please use $(systemd_with_unitdir) instead.'
34 -
35 - myeconfargs=(
36 - "${myeconfargs[@]}"
37 - --with-systemdsystemunitdir="$(systemd_get_unitdir)"
38 - )
39 -}
40 -
41 # @FUNCTION: systemd_update_catalog
42 # @DESCRIPTION:
43 # Update the journald catalog. This needs to be called after installing
44 --
45 2.6.3