summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Phillip Brink <binki@gentoo.org>2011-12-02 02:44:18 +0000
committerNathan Phillip Brink <binki@gentoo.org>2011-12-02 02:44:18 +0000
commit268343132c4141ee07d7ee201109c960391ef1bc (patch)
tree0edb97bb93a6d6c6b84bf0bcf14bed2dd559b21e /dev-libs/lzo/lzo-2.06.ebuild
parentdelete unsed generate_sparc_asm helper (diff)
downloadgentoo-2-268343132c4141ee07d7ee201109c960391ef1bc.tar.gz
gentoo-2-268343132c4141ee07d7ee201109c960391ef1bc.tar.bz2
gentoo-2-268343132c4141ee07d7ee201109c960391ef1bc.zip
Fix files wrongly installed into /usr/share/doc/${PN}, reported by jdhore.
(Portage version: 2.2.0_alpha78-r1/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/lzo/lzo-2.06.ebuild')
-rw-r--r--dev-libs/lzo/lzo-2.06.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-libs/lzo/lzo-2.06.ebuild b/dev-libs/lzo/lzo-2.06.ebuild
index 67a8d6f3b3aa..c46a6469d291 100644
--- a/dev-libs/lzo/lzo-2.06.ebuild
+++ b/dev-libs/lzo/lzo-2.06.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/dev-libs/lzo/lzo-2.06.ebuild,v 1.1 2011/08/20 18:22:46 mattst88 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/lzo/lzo-2.06.ebuild,v 1.2 2011/12/02 02:44:18 binki Exp $
EAPI=4
@@ -15,6 +15,7 @@ IUSE="examples static-libs"
src_configure() {
econf \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
--disable-dependency-tracking \
--enable-shared \
$(use_enable static-libs static)
@@ -22,7 +23,9 @@ src_configure() {
src_install() {
emake DESTDIR="${D}" install
- dodoc AUTHORS BUGS ChangeLog NEWS README THANKS doc/*
+
+ dodoc BUGS ChangeLog README THANKS doc/*
+ rm "${ED}"/usr/share/doc/${PF}/COPYING || die
if use examples; then
docinto examples