summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-12-25 07:04:09 +0000
committerTim Harder <radhermit@gentoo.org>2013-12-25 07:04:09 +0000
commit1b88c06046acb97c16d00df9b5262c7660920118 (patch)
tree5ada1139ee1b9ddd657f9b3a9b02c6b25c62ac05 /sys-fs
parentCleanup. (diff)
downloadgentoo-2-1b88c06046acb97c16d00df9b5262c7660920118.tar.gz
gentoo-2-1b88c06046acb97c16d00df9b5262c7660920118.tar.bz2
gentoo-2-1b88c06046acb97c16d00df9b5262c7660920118.zip
Add systemd use flag.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/multipath-tools/ChangeLog8
-rw-r--r--sys-fs/multipath-tools/multipath-tools-0.5.0-r1.ebuild (renamed from sys-fs/multipath-tools/multipath-tools-0.5.0.ebuild)10
2 files changed, 13 insertions, 5 deletions
diff --git a/sys-fs/multipath-tools/ChangeLog b/sys-fs/multipath-tools/ChangeLog
index 152c50490656..856ad8096865 100644
--- a/sys-fs/multipath-tools/ChangeLog
+++ b/sys-fs/multipath-tools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/multipath-tools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v 1.59 2013/12/25 06:48:30 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v 1.60 2013/12/25 07:04:09 radhermit Exp $
+
+*multipath-tools-0.5.0-r1 (25 Dec 2013)
+
+ 25 Dec 2013; Tim Harder <radhermit@gentoo.org> -multipath-tools-0.5.0.ebuild,
+ +multipath-tools-0.5.0-r1.ebuild:
+ Add systemd use flag.
*multipath-tools-0.5.0 (25 Dec 2013)
diff --git a/sys-fs/multipath-tools/multipath-tools-0.5.0.ebuild b/sys-fs/multipath-tools/multipath-tools-0.5.0-r1.ebuild
index cc76156af77b..e075b5284b48 100644
--- a/sys-fs/multipath-tools/multipath-tools-0.5.0.ebuild
+++ b/sys-fs/multipath-tools/multipath-tools-0.5.0-r1.ebuild
@@ -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/sys-fs/multipath-tools/multipath-tools-0.5.0.ebuild,v 1.1 2013/12/25 06:48:30 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/multipath-tools-0.5.0-r1.ebuild,v 1.1 2013/12/25 07:04:09 radhermit Exp $
EAPI=4
inherit eutils toolchain-funcs udev
@@ -12,12 +12,13 @@ SRC_URI="http://christophe.varoqui.free.fr/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
+IUSE="systemd"
RDEPEND=">=sys-fs/lvm2-2.02.45
>=virtual/udev-171
dev-libs/libaio
- sys-libs/readline"
+ sys-libs/readline
+ systemd? ( sys-apps/systemd )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
@@ -28,7 +29,7 @@ src_prepare() {
src_compile() {
# LIBDM_API_FLUSH involves grepping files in /usr/include,
# so force the test to go the way we want #411337.
- emake LIBDM_API_FLUSH=1 CC="$(tc-getCC)"
+ emake LIBDM_API_FLUSH=1 CC="$(tc-getCC)" SYSTEMD=$(usex systemd 1 "")
}
src_install() {
@@ -37,6 +38,7 @@ src_install() {
dodir /sbin /usr/share/man/man8
emake \
DESTDIR="${D}" \
+ SYSTEMD=$(usex systemd 1 "") \
libudevdir='${prefix}'/"${udevdir}" \
install