* [gentoo-commits] gentoo-x86 commit in eclass: systemd.eclass
@ 2013-04-13 22:36 Michal Gorny (mgorny)
0 siblings, 0 replies; 9+ messages in thread
From: Michal Gorny (mgorny) @ 2013-04-13 22:36 UTC (permalink / raw
To: gentoo-commits
mgorny 13/04/13 22:36:52
Modified: systemd.eclass
Log:
Fix unnecessary $().
Revision Changes Path
1.24 eclass/systemd.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.24&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.24&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?r1=1.23&r2=1.24
Index: systemd.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- systemd.eclass 13 Apr 2013 22:35:53 -0000 1.23
+++ systemd.eclass 13 Apr 2013 22:36:51 -0000 1.24
@@ -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.23 2013/04/13 22:35:53 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.24 2013/04/13 22:36:51 mgorny Exp $
# @ECLASS: systemd.eclass
# @MAINTAINER:
@@ -62,7 +62,7 @@
# @DESCRIPTION:
# Get unprefixed userunitdir.
_systemd_get_userunitdir() {
- if $($(tc-getPKG_CONFIG) --exists systemd); then
+ if $(tc-getPKG_CONFIG) --exists systemd; then
echo "$($(tc-getPKG_CONFIG) --variable=systemduserunitdir systemd)"
else
echo /usr/lib/systemd/user
@@ -86,7 +86,7 @@
# @DESCRIPTION:
# Get unprefixed utildir.
_systemd_get_utildir() {
- if $($(tc-getPKG_CONFIG) --exists systemd); then
+ if $(tc-getPKG_CONFIG) --exists systemd; then
echo "$($(tc-getPKG_CONFIG) --variable=systemdutildir systemd)"
else
echo /usr/lib/systemd
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: systemd.eclass
@ 2011-09-17 13:48 Michal Gorny (mgorny)
0 siblings, 0 replies; 9+ messages in thread
From: Michal Gorny (mgorny) @ 2011-09-17 13:48 UTC (permalink / raw
To: gentoo-commits
mgorny 11/09/17 13:48:21
Modified: systemd.eclass
Log:
Clean up, fix and simplify prefix support.
Revision Changes Path
1.9 eclass/systemd.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?r1=1.8&r2=1.9
Index: systemd.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- systemd.eclass 29 Aug 2011 01:28:10 -0000 1.8
+++ systemd.eclass 17 Sep 2011 13:48:21 -0000 1.9
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.8 2011/08/29 01:28:10 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.9 2011/09/17 13:48:21 mgorny Exp $
# @ECLASS: systemd.eclass
# @MAINTAINER:
@@ -30,6 +30,14 @@
*) die "${ECLASS}.eclass API in EAPI ${EAPI} not yet established."
esac
+# @FUNCTION: _systemd_get_unitdir
+# @INTERNAL
+# @DESCRIPTION:
+# Get unprefixed unitdir.
+_systemd_get_unitdir() {
+ echo -n /lib/systemd/system
+}
+
# @FUNCTION: systemd_get_unitdir
# @DESCRIPTION:
# Output the path for the systemd unit directory (not including ${D}).
@@ -38,7 +46,7 @@
has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
debug-print-function ${FUNCNAME} "${@}"
- echo -n "${EPREFIX}"/lib/systemd/system
+ echo -n "${EPREFIX}$(_systemd_get_unitdir)"
}
# @FUNCTION: systemd_dounit
@@ -47,12 +55,10 @@
# Install systemd unit(s). Uses doins, thus it is fatal in EAPI 4
# and non-fatal in earlier EAPIs.
systemd_dounit() {
- has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
debug-print-function ${FUNCNAME} "${@}"
(
- local ud=$(systemd_get_unitdir)
- insinto "${ud#${EPREFIX}}"
+ insinto "$(_systemd_get_unitdir)"
doins "${@}"
)
}
@@ -66,7 +72,7 @@
debug-print-function ${FUNCNAME} "${@}"
(
- insinto "$(systemd_get_unitdir)"
+ insinto "$(_systemd_get_unitdir)"
newins "${@}"
)
}
@@ -98,7 +104,7 @@
local target=${1}
local service=${2}
- local ud=$(systemd_get_unitdir)
+ local ud=$(_systemd_get_unitdir)
dodir "${ud}"/"${target}".wants && \
dosym ../"${service}" "${ud}"/"${target}".wants
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: systemd.eclass
@ 2011-07-28 13:47 Zac Medico (zmedico)
0 siblings, 0 replies; 9+ messages in thread
From: Zac Medico (zmedico) @ 2011-07-28 13:47 UTC (permalink / raw
To: gentoo-commits
zmedico 11/07/28 13:47:50
Modified: systemd.eclass
Log:
systemd_dounit: fix for prefix
Revision Changes Path
1.7 eclass/systemd.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?r1=1.6&r2=1.7
Index: systemd.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- systemd.eclass 24 Jun 2011 13:13:24 -0000 1.6
+++ systemd.eclass 28 Jul 2011 13:47:50 -0000 1.7
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.6 2011/06/24 13:13:24 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.7 2011/07/28 13:47:50 zmedico Exp $
# @ECLASS: systemd.eclass
# @MAINTAINER:
@@ -47,10 +47,12 @@
# Install systemd unit(s). Uses doins, thus it is fatal in EAPI 4
# and non-fatal in earlier EAPIs.
systemd_dounit() {
+ has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
debug-print-function ${FUNCNAME} "${@}"
(
- insinto "$(systemd_get_unitdir)"
+ local ud=$(systemd_get_unitdir)
+ insinto "${ud#${EPREFIX}}"
doins "${@}"
)
}
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: systemd.eclass
@ 2011-06-24 13:13 Jeremy Olexa (darkside)
0 siblings, 0 replies; 9+ messages in thread
From: Jeremy Olexa (darkside) @ 2011-06-24 13:13 UTC (permalink / raw
To: gentoo-commits
darkside 11/06/24 13:13:24
Modified: systemd.eclass
Log:
return an EPREFIX'd path in systemd_get_unitdir(), approved by maintainer
Revision Changes Path
1.6 eclass/systemd.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?r1=1.5&r2=1.6
Index: systemd.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- systemd.eclass 19 Jun 2011 16:05:10 -0000 1.5
+++ systemd.eclass 24 Jun 2011 13:13:24 -0000 1.6
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.5 2011/06/19 16:05:10 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.6 2011/06/24 13:13:24 darkside Exp $
# @ECLASS: systemd.eclass
# @MAINTAINER:
@@ -35,9 +35,10 @@
# Output the path for the systemd unit directory (not including ${D}).
# This function always succeeds, even if systemd is not installed.
systemd_get_unitdir() {
+ has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
debug-print-function ${FUNCNAME} "${@}"
- echo -n /lib/systemd/system
+ echo -n "${EPREFIX}"/lib/systemd/system
}
# @FUNCTION: systemd_dounit
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: systemd.eclass
@ 2011-06-19 16:05 Michal Gorny (mgorny)
0 siblings, 0 replies; 9+ messages in thread
From: Michal Gorny (mgorny) @ 2011-06-19 16:05 UTC (permalink / raw
To: gentoo-commits
mgorny 11/06/19 16:05:10
Modified: systemd.eclass
Log:
Add systemd_newunit() to handle @-related renames gracefully.
Revision Changes Path
1.5 eclass/systemd.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?r1=1.4&r2=1.5
Index: systemd.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- systemd.eclass 16 Jun 2011 16:39:18 -0000 1.4
+++ systemd.eclass 19 Jun 2011 16:05:10 -0000 1.5
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.4 2011/06/16 16:39:18 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.5 2011/06/19 16:05:10 mgorny Exp $
# @ECLASS: systemd.eclass
# @MAINTAINER:
@@ -54,6 +54,20 @@
)
}
+# @FUNCTION: systemd_newunit
+# @USAGE: oldname newname
+# @DESCRIPTION:
+# Install systemd unit with a new name. Uses newins, thus it is fatal
+# in EAPI 4 and non-fatal in earlier EAPIs.
+systemd_newunit() {
+ debug-print-function ${FUNCNAME} "${@}"
+
+ (
+ insinto "$(systemd_get_unitdir)"
+ newins "${@}"
+ )
+}
+
# @FUNCTION: systemd_dotmpfilesd
# @USAGE: tmpfilesd1 [...]
# @DESCRIPTION:
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: systemd.eclass
@ 2011-06-16 16:39 Michal Gorny (mgorny)
0 siblings, 0 replies; 9+ messages in thread
From: Michal Gorny (mgorny) @ 2011-06-16 16:39 UTC (permalink / raw
To: gentoo-commits
mgorny 11/06/16 16:39:18
Modified: systemd.eclass
Log:
Support passing an optional configure option name to systemd_with_unitdir.
Revision Changes Path
1.4 eclass/systemd.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?r1=1.3&r2=1.4
Index: systemd.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- systemd.eclass 11 Jun 2011 06:06:43 -0000 1.3
+++ systemd.eclass 16 Jun 2011 16:39:18 -0000 1.4
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.3 2011/06/11 06:06:43 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.4 2011/06/16 16:39:18 mgorny Exp $
# @ECLASS: systemd.eclass
# @MAINTAINER:
@@ -88,15 +88,22 @@
}
# @FUNCTION: systemd_with_unitdir
+# @USAGE: [configure option]
# @DESCRIPTION:
# Output '--with-systemdsystemunitdir' as expected by systemd-aware configure
# scripts. This function always succeeds. Its output may be quoted in order
# to preserve whitespace in paths. systemd_to_myeconfargs() is preferred over
# this function.
+#
+# If upstream does use invalid configure option to handle installing systemd
+# units (e.g. `--with-systemdunitdir'), you can pass the 'suffix' as an optional
+# argument to this function (`$(systemd_with_unitdir systemdunitdir)'). Please
+# remember to report a bug upstream as well.
systemd_with_unitdir() {
debug-print-function ${FUNCNAME} "${@}"
+ local optname=${1:-systemdsystemunitdir}
- echo -n --with-systemdsystemunitdir="$(systemd_get_unitdir)"
+ echo -n --with-${optname}="$(systemd_get_unitdir)"
}
# @FUNCTION: systemd_to_myeconfargs
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: systemd.eclass
@ 2011-06-11 6:06 Michal Gorny (mgorny)
0 siblings, 0 replies; 9+ messages in thread
From: Michal Gorny (mgorny) @ 2011-06-11 6:06 UTC (permalink / raw
To: gentoo-commits
mgorny 11/06/11 06:06:43
Modified: systemd.eclass
Log:
Introduce systemd_dotmpfilesd() for installing tmpfiles.d files.
Revision Changes Path
1.3 eclass/systemd.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?r1=1.2&r2=1.3
Index: systemd.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- systemd.eclass 4 May 2011 16:02:10 -0000 1.2
+++ systemd.eclass 11 Jun 2011 06:06:43 -0000 1.3
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.2 2011/05/04 16:02:10 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.3 2011/06/11 06:06:43 mgorny Exp $
# @ECLASS: systemd.eclass
# @MAINTAINER:
@@ -54,6 +54,20 @@
)
}
+# @FUNCTION: systemd_dotmpfilesd
+# @USAGE: tmpfilesd1 [...]
+# @DESCRIPTION:
+# Install systemd tmpfiles.d files. Uses doins, thus it is fatal
+# in EAPI 4 and non-fatal in earlier EAPIs.
+systemd_dotmpfilesd() {
+ debug-print-function ${FUNCNAME} "${@}"
+
+ (
+ insinto /usr/lib/tmpfiles.d/
+ doins "${@}"
+ )
+}
+
# @FUNCTION: systemd_enable_service
# @USAGE: target service
# @DESCRIPTION:
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: systemd.eclass
@ 2011-05-04 16:02 Michal Gorny (mgorny)
0 siblings, 0 replies; 9+ messages in thread
From: Michal Gorny (mgorny) @ 2011-05-04 16:02 UTC (permalink / raw
To: gentoo-commits
mgorny 11/05/04 16:02:10
Modified: systemd.eclass
Log:
Drop needless `inherit multilib'. Thanks to Henry Gebhardt for pointing this out.
Revision Changes Path
1.2 eclass/systemd.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?r1=1.1&r2=1.2
Index: systemd.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- systemd.eclass 4 May 2011 10:53:35 -0000 1.1
+++ systemd.eclass 4 May 2011 16:02:10 -0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.1 2011/05/04 10:53:35 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.2 2011/05/04 16:02:10 mgorny Exp $
# @ECLASS: systemd.eclass
# @MAINTAINER:
@@ -25,8 +25,6 @@
# }
# @CODE
-inherit multilib
-
case ${EAPI:-0} in
0|1|2|3|4) ;;
*) die "${ECLASS}.eclass API in EAPI ${EAPI} not yet established."
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: systemd.eclass
@ 2011-05-04 10:53 Michal Gorny (mgorny)
0 siblings, 0 replies; 9+ messages in thread
From: Michal Gorny (mgorny) @ 2011-05-04 10:53 UTC (permalink / raw
To: gentoo-commits
mgorny 11/05/04 10:53:35
Added: systemd.eclass
Log:
Introducing systemd.eclass - a helper eclass to handle systemd unit installation.
Revision Changes Path
1.1 eclass/systemd.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.1&content-type=text/plain
Index: systemd.eclass
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.1 2011/05/04 10:53:35 mgorny Exp $
# @ECLASS: systemd.eclass
# @MAINTAINER:
# mgorny@gentoo.org
# @BLURB: helper functions to install systemd units
# @DESCRIPTION:
# This eclass provides a set of functions to install unit files for
# sys-apps/systemd within ebuilds.
# @EXAMPLE:
#
# @CODE
# inherit autotools-utils systemd
#
# src_configure() {
# local myeconfargs=(
# --enable-foo
# --disable-bar
# )
#
# systemd_to_myeconfargs
# autotools-utils_src_configure
# }
# @CODE
inherit multilib
case ${EAPI:-0} in
0|1|2|3|4) ;;
*) die "${ECLASS}.eclass API in EAPI ${EAPI} not yet established."
esac
# @FUNCTION: systemd_get_unitdir
# @DESCRIPTION:
# Output the path for the systemd unit directory (not including ${D}).
# This function always succeeds, even if systemd is not installed.
systemd_get_unitdir() {
debug-print-function ${FUNCNAME} "${@}"
echo -n /lib/systemd/system
}
# @FUNCTION: systemd_dounit
# @USAGE: unit1 [...]
# @DESCRIPTION:
# Install systemd unit(s). Uses doins, thus it is fatal in EAPI 4
# and non-fatal in earlier EAPIs.
systemd_dounit() {
debug-print-function ${FUNCNAME} "${@}"
(
insinto "$(systemd_get_unitdir)"
doins "${@}"
)
}
# @FUNCTION: systemd_enable_service
# @USAGE: target service
# @DESCRIPTION:
# Enable service in desired target, e.g. install a symlink for it.
# Uses dosym, thus it is fatal in EAPI 4 and non-fatal in earlier
# EAPIs.
systemd_enable_service() {
debug-print-function ${FUNCNAME} "${@}"
[[ ${#} -eq 2 ]] || die "Synopsis: systemd_enable_service target service"
local target=${1}
local service=${2}
local ud=$(systemd_get_unitdir)
dodir "${ud}"/"${target}".wants && \
dosym ../"${service}" "${ud}"/"${target}".wants
}
# @FUNCTION: systemd_with_unitdir
# @DESCRIPTION:
# Output '--with-systemdsystemunitdir' as expected by systemd-aware configure
# scripts. This function always succeeds. Its output may be quoted in order
# to preserve whitespace in paths. systemd_to_myeconfargs() is preferred over
# this function.
systemd_with_unitdir() {
debug-print-function ${FUNCNAME} "${@}"
echo -n --with-systemdsystemunitdir="$(systemd_get_unitdir)"
}
# @FUNCTION: systemd_to_myeconfargs
# @DESCRIPTION:
# Add '--with-systemdsystemunitdir' as expected by systemd-aware configure
# scripts to the myeconfargs variable used by autotools-utils eclass. Handles
# quoting automatically.
systemd_to_myeconfargs() {
debug-print-function ${FUNCNAME} "${@}"
myeconfargs=(
"${myeconfargs[@]}"
--with-systemdsystemunitdir="$(systemd_get_unitdir)"
)
}
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-04-13 22:36 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-13 22:36 [gentoo-commits] gentoo-x86 commit in eclass: systemd.eclass Michal Gorny (mgorny)
-- strict thread matches above, loose matches on Subject: below --
2011-09-17 13:48 Michal Gorny (mgorny)
2011-07-28 13:47 Zac Medico (zmedico)
2011-06-24 13:13 Jeremy Olexa (darkside)
2011-06-19 16:05 Michal Gorny (mgorny)
2011-06-16 16:39 Michal Gorny (mgorny)
2011-06-11 6:06 Michal Gorny (mgorny)
2011-05-04 16:02 Michal Gorny (mgorny)
2011-05-04 10:53 Michal Gorny (mgorny)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox