summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDawid Węgliński <cla@gentoo.org>2010-01-19 23:17:24 +0000
committerDawid Węgliński <cla@gentoo.org>2010-01-19 23:17:24 +0000
commit44e7fdf03927741047c444b97a082fe0d27a8ad2 (patch)
tree0f7fdd45a87def6e342a76602b7af6fd9123f324 /net-misc/mknbi/mknbi-1.4.4.ebuild
parentstable sparc, bug 301443 (diff)
downloadgentoo-2-44e7fdf03927741047c444b97a082fe0d27a8ad2.tar.gz
gentoo-2-44e7fdf03927741047c444b97a082fe0d27a8ad2.tar.bz2
gentoo-2-44e7fdf03927741047c444b97a082fe0d27a8ad2.zip
Make sure documentation installs inside /usr/share/doc/${PF} (bug #296620)
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/mknbi/mknbi-1.4.4.ebuild')
-rw-r--r--net-misc/mknbi/mknbi-1.4.4.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-misc/mknbi/mknbi-1.4.4.ebuild b/net-misc/mknbi/mknbi-1.4.4.ebuild
index f492fff4d873..f9cdb66ef9ce 100644
--- a/net-misc/mknbi/mknbi-1.4.4.ebuild
+++ b/net-misc/mknbi/mknbi-1.4.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mknbi/mknbi-1.4.4.ebuild,v 1.7 2008/08/31 04:36:02 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mknbi/mknbi-1.4.4.ebuild,v 1.8 2010/01/19 23:17:24 cla Exp $
inherit toolchain-funcs eutils
@@ -31,6 +31,7 @@ src_unpack() {
-e "s:COPYING::" \
-e "s:\-mcpu:\-march:" Makefile \
|| die "sed failed"
+ sed -r /^DOCDIR/s:packages/.*:${PF}: -i Makefile || die "sed failed"
#apply modifications to CFLAGS to fix for gcc 3.4: bug #64049
if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ]