summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-03-12 18:40:56 +0000
committerMike Gilbert <floppym@gentoo.org>2014-03-12 18:40:56 +0000
commita94daef50295bd950de3b3534c25fa1a8fea45cc (patch)
tree756fa865866cfa5a7d6d2a487fdcbd0103941403 /sys-apps/systemd
parentfix program start when eselect points to python3 (diff)
downloadgentoo-2-a94daef50295bd950de3b3534c25fa1a8fea45cc.tar.gz
gentoo-2-a94daef50295bd950de3b3534c25fa1a8fea45cc.tar.bz2
gentoo-2-a94daef50295bd950de3b3534c25fa1a8fea45cc.zip
Copy ROOTPREFIX logic from the live ebuild.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'sys-apps/systemd')
-rw-r--r--sys-apps/systemd/ChangeLog5
-rw-r--r--sys-apps/systemd/systemd-211.ebuild10
2 files changed, 13 insertions, 2 deletions
diff --git a/sys-apps/systemd/ChangeLog b/sys-apps/systemd/ChangeLog
index d4a2e5dc0322..9706a4b706d2 100644
--- a/sys-apps/systemd/ChangeLog
+++ b/sys-apps/systemd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/systemd
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.238 2014/03/12 08:45:02 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.239 2014/03/12 18:40:56 floppym Exp $
+
+ 12 Mar 2014; Mike Gilbert <floppym@gentoo.org> systemd-211.ebuild:
+ Copy ROOTPREFIX logic from the live ebuild.
*systemd-211 (12 Mar 2014)
diff --git a/sys-apps/systemd/systemd-211.ebuild b/sys-apps/systemd/systemd-211.ebuild
index 2c8a81b741dd..338632c85903 100644
--- a/sys-apps/systemd/systemd-211.ebuild
+++ b/sys-apps/systemd/systemd-211.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-211.ebuild,v 1.1 2014/03/12 08:45:02 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-211.ebuild,v 1.2 2014/03/12 18:40:56 floppym Exp $
EAPI=5
@@ -192,6 +192,14 @@ multilib_src_configure() {
)
fi
+ # Added for testing; this is UNSUPPORTED by the Gentoo systemd team!
+ if [[ -n ${ROOTPREFIX+set} ]]; then
+ myeconfargs+=(
+ --with-rootprefix="${ROOTPREFIX}"
+ --with-rootlibdir="${ROOTPREFIX}/$(get_libdir)"
+ )
+ fi
+
if ! multilib_is_native_abi; then
myeconfargs+=(
ac_cv_search_cap_init=