summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-07-27 08:01:51 +0000
committerZac Medico <zmedico@gentoo.org>2011-07-27 08:01:51 +0000
commit73c3c0c63f68bde2d95a3912e2aa9169025c3aab (patch)
tree24bcf417c87a591ae7cf27e5578f06f6843368a0 /sys-fs/lvm2
parentfix webapp-cleaner usage by eclass (diff)
downloadgentoo-2-73c3c0c63f68bde2d95a3912e2aa9169025c3aab.tar.gz
gentoo-2-73c3c0c63f68bde2d95a3912e2aa9169025c3aab.tar.bz2
gentoo-2-73c3c0c63f68bde2d95a3912e2aa9169025c3aab.zip
Bump to EAPI 3 and fix for prefix.
(Portage version: 2.2.0_alpha47/cvs/Linux i686)
Diffstat (limited to 'sys-fs/lvm2')
-rw-r--r--sys-fs/lvm2/ChangeLog5
-rw-r--r--sys-fs/lvm2/lvm2-2.02.85.ebuild17
2 files changed, 13 insertions, 9 deletions
diff --git a/sys-fs/lvm2/ChangeLog b/sys-fs/lvm2/ChangeLog
index 7a4287f752d5..6bfb1fdd2efc 100644
--- a/sys-fs/lvm2/ChangeLog
+++ b/sys-fs/lvm2/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-fs/lvm2
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.244 2011/05/02 06:27:41 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.245 2011/07/27 08:01:51 zmedico Exp $
+
+ 27 Jul 2011; Zac Medico <zmedico@gentoo.org> lvm2-2.02.85.ebuild:
+ Bump to EAPI 3 and fix for prefix.
*lvm2-2.02.85 (02 May 2011)
diff --git a/sys-fs/lvm2/lvm2-2.02.85.ebuild b/sys-fs/lvm2/lvm2-2.02.85.ebuild
index 3554e38501a5..47a4d2da72c9 100644
--- a/sys-fs/lvm2/lvm2-2.02.85.ebuild
+++ b/sys-fs/lvm2/lvm2-2.02.85.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/lvm2-2.02.85.ebuild,v 1.1 2011/05/02 06:27:41 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/lvm2-2.02.85.ebuild,v 1.2 2011/07/27 08:01:51 zmedico Exp $
-EAPI=2
+EAPI=3
inherit eutils multilib toolchain-funcs autotools linux-info
DESCRIPTION="User-land utilities for LVM2 (device-mapper) software."
@@ -154,17 +154,18 @@ src_configure() {
fi
myconf="${myconf}
- --sbindir=/sbin
- --with-staticdir=/sbin
--with-dmeventd-path=/sbin/dmeventd"
econf $(use_enable readline) \
$(use_enable selinux) \
--enable-pkgconfig \
- --libdir=/$(get_libdir) \
- --with-usrlibdir=/usr/$(get_libdir) \
+ --with-confdir="${EPREFIX}/etc" \
+ --sbindir="${EPREFIX}/sbin" \
+ --with-staticdir="${EPREFIX}/sbin" \
+ --libdir="${EPREFIX}/$(get_libdir)" \
+ --with-usrlibdir="${EPREFIX}/usr/$(get_libdir)" \
--enable-udev_rules \
--enable-udev_sync \
- --with-udevdir=/lib/udev/rules.d/ \
+ --with-udevdir="${EPREFIX}/lib/udev/rules.d/" \
${myconf} \
CLDFLAGS="${LDFLAGS}" || die
}
@@ -249,7 +250,7 @@ src_install() {
#newins "${FILESDIR}"/64-device-mapper.rules-2.02.56-r3 64-device-mapper.rules || die
# do not rely on /lib -> /libXX link
- sed -e "s-/lib/rcscripts/-/$(get_libdir)/rcscripts/-" -i "${D}"/etc/init.d/*
+ sed -e "s-/lib/rcscripts/-/$(get_libdir)/rcscripts/-" -i "${ED}"/etc/init.d/*
elog "USE flag nocman is deprecated and replaced"
elog "with the cman USE flag."