diff options
author | Michał Górny <mgorny@gentoo.org> | 2012-10-30 21:56:31 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2012-10-30 21:56:31 +0000 |
commit | 5da67361004fa8b1feee9c9fc39929db9fd5693b (patch) | |
tree | a9fa4595f041fae8ac0a5cdbe173a00386404fee /eclass/systemd.eclass | |
parent | stable ppc, bug #440296 (diff) | |
download | historical-5da67361004fa8b1feee9c9fc39929db9fd5693b.tar.gz historical-5da67361004fa8b1feee9c9fc39929db9fd5693b.tar.bz2 historical-5da67361004fa8b1feee9c9fc39929db9fd5693b.zip |
Add systemd_with_utildir() as well.
Diffstat (limited to 'eclass/systemd.eclass')
-rw-r--r-- | eclass/systemd.eclass | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass index 2c4a2567d5de..47e342b38902 100644 --- a/eclass/systemd.eclass +++ b/eclass/systemd.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.17 2012/10/30 21:29:32 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.18 2012/10/30 21:56:31 mgorny Exp $ # @ECLASS: systemd.eclass # @MAINTAINER: @@ -164,6 +164,17 @@ systemd_with_unitdir() { echo --with-${optname}="$(systemd_get_unitdir)" } +# @FUNCTION: systemd_with_utildir +# @DESCRIPTION: +# Output '--with-systemdsystemutildir' as used by some packages to install +# systemd helpers. This function always succeeds. Its output may be quoted +# in order to preserve whitespace in paths. +systemd_with_utildir() { + debug-print-function ${FUNCNAME} "${@}" + + echo --with-systemdutildir="$(systemd_get_utildir)" +} + # @FUNCTION: systemd_to_myeconfargs # @DESCRIPTION: # Add '--with-systemdsystemunitdir' as expected by systemd-aware configure |