summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2007-04-19 00:48:13 +0000
committerAndrej Kacian <ticho@gentoo.org>2007-04-19 00:48:13 +0000
commitec90109227f29ed4c9d082a6f67b3cc133f2abef (patch)
treefb23f097e5a30ad4c158cecf98265525921bc7cd /net-news
parentAdd prefix variable also to emake in src_compile(). Suggested in bug #175031 ... (diff)
downloadgentoo-2-ec90109227f29ed4c9d082a6f67b3cc133f2abef.tar.gz
gentoo-2-ec90109227f29ed4c9d082a6f67b3cc133f2abef.tar.bz2
gentoo-2-ec90109227f29ed4c9d082a6f67b3cc133f2abef.zip
$D not good in src_compile()'s make call.
(Portage version: 2.1.2.3)
Diffstat (limited to 'net-news')
-rw-r--r--net-news/newsbeuter/newsbeuter-0.3.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-news/newsbeuter/newsbeuter-0.3.ebuild b/net-news/newsbeuter/newsbeuter-0.3.ebuild
index 5d06975bcd96..cdbc40fc5993 100644
--- a/net-news/newsbeuter/newsbeuter-0.3.ebuild
+++ b/net-news/newsbeuter/newsbeuter-0.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/newsbeuter-0.3.ebuild,v 1.2 2007/04/19 00:36:44 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/newsbeuter-0.3.ebuild,v 1.3 2007/04/19 00:48:13 ticho Exp $
inherit toolchain-funcs
@@ -29,11 +29,12 @@ src_unpack() {
}
src_compile() {
- emake prefix="${D}/usr" || die
+ emake prefix="/usr" || die
}
src_install() {
make prefix="${D}/usr" install || die
dodoc AUTHORS README
mv "${D}"/usr/share/doc/${PN}/* "${D}"/usr/share/doc/${PF}/
+ rm -rf "${D}"/usr/share/doc/${PN}
}