diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-09-11 08:50:07 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-09-11 08:50:07 +0000 |
commit | 558a76ed84389a60647303c66f6cb8fd8d2f0ab5 (patch) | |
tree | 2af6e6556d4ce38e0e0119fcb9dd8698830c0ad6 /eclass/systemd.eclass | |
parent | Initial import. (diff) | |
download | historical-558a76ed84389a60647303c66f6cb8fd8d2f0ab5.tar.gz historical-558a76ed84389a60647303c66f6cb8fd8d2f0ab5.tar.bz2 historical-558a76ed84389a60647303c66f6cb8fd8d2f0ab5.zip |
Deprecate systemd_to_myeconfargs(). It's redundant and unnecessarily confusing.
Diffstat (limited to 'eclass/systemd.eclass')
-rw-r--r-- | eclass/systemd.eclass | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass index a6c4f8184405..10c06a293d3f 100644 --- a/eclass/systemd.eclass +++ b/eclass/systemd.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.27 2013/09/11 07:58:00 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.28 2013/09/11 08:50:07 mgorny Exp $ # @ECLASS: systemd.eclass # @MAINTAINER: @@ -12,20 +12,20 @@ # @EXAMPLE: # # @CODE -# inherit autotools-utils systemd +# inherit systemd # # src_configure() { # local myeconfargs=( # --enable-foo # --disable-bar +# "$(systemd_with_unitdir)" # ) # -# systemd_to_myeconfargs -# autotools-utils_src_configure +# econf "${myeconfargs[@]}" # } # @CODE -inherit toolchain-funcs +inherit eutils toolchain-funcs case ${EAPI:-0} in 0|1|2|3|4|5) ;; @@ -227,6 +227,9 @@ systemd_with_utildir() { systemd_to_myeconfargs() { debug-print-function ${FUNCNAME} "${@}" + eqawarn 'systemd_to_myeconfargs() is deprecated and will be removed on 2013-10-11.' + eqawarn 'Please use $(systemd_with_unitdir) instead.' + myeconfargs=( "${myeconfargs[@]}" --with-systemdsystemunitdir="$(systemd_get_unitdir)" |