diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-07-25 23:08:19 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-07-25 23:08:19 +0000 |
commit | bf27c8cb319dade77a9d14f70a1b7b1c672851c0 (patch) | |
tree | f506fefcd555c1ad108c84861c1a823a983e3f63 /sys-power/cpufrequtils/cpufrequtils-008-r1.ebuild | |
parent | Initial commit to tree (diff) | |
download | gentoo-2-bf27c8cb319dade77a9d14f70a1b7b1c672851c0.tar.gz gentoo-2-bf27c8cb319dade77a9d14f70a1b7b1c672851c0.tar.bz2 gentoo-2-bf27c8cb319dade77a9d14f70a1b7b1c672851c0.zip |
Fix src_install to use emake DESTDIR="${ED}" for prefix compatibility.
There's no configure script, so in this case we have to use emake
DESTDIR="${ED}" instead of the usual econf --prefix="${EPREFIX}".
(Portage version: 2.2.0_alpha47/cvs/Linux i686)
Diffstat (limited to 'sys-power/cpufrequtils/cpufrequtils-008-r1.ebuild')
-rw-r--r-- | sys-power/cpufrequtils/cpufrequtils-008-r1.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys-power/cpufrequtils/cpufrequtils-008-r1.ebuild b/sys-power/cpufrequtils/cpufrequtils-008-r1.ebuild index f1ee690e61b6..3c9b176ff415 100644 --- a/sys-power/cpufrequtils/cpufrequtils-008-r1.ebuild +++ b/sys-power/cpufrequtils/cpufrequtils-008-r1.ebuild @@ -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/sys-power/cpufrequtils/cpufrequtils-008-r1.ebuild,v 1.2 2011/07/24 21:31:40 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/cpufrequtils-008-r1.ebuild,v 1.3 2011/07/25 23:08:19 zmedico Exp $ EAPI="3" @@ -32,9 +32,9 @@ src_prepare() { src_configure() { export DEBUG=$(ft debug) V=true NLS=$(ft nls) unset bindir sbindir includedir localedir confdir - export mandir="${EPREFIX}/usr/share/man" - export libdir="${EPREFIX}/usr/$(get_libdir)" - export docdir="${EPREFIX}/usr/share/doc/${PF}" + export mandir="/usr/share/man" + export libdir="/usr/$(get_libdir)" + export docdir="/usr/share/doc/${PF}" } src_compile() { @@ -50,7 +50,9 @@ src_compile() { } src_install() { - emake DESTDIR="${D}" install || die + # There's no configure script, so in this case we have to use emake + # DESTDIR="${ED}" instead of the usual econf --prefix="${EPREFIX}". + emake DESTDIR="${ED}" install || die dodoc AUTHORS README newinitd "${FILESDIR}"/${PN}-init.d-006 ${PN} || die |