Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/mknbi: mknbi-1.4.4.ebuild ChangeLog
Date: Sun, 31 Aug 2008 04:36:06
Message-Id: E1KZefS-00026g-K2@stork.gentoo.org
1 mr_bones_ 08/08/31 04:36:02
2
3 Modified: mknbi-1.4.4.ebuild ChangeLog
4 Log:
5 fix bug #221449 and tidy ebuild
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.7 net-misc/mknbi/mknbi-1.4.4.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mknbi/mknbi-1.4.4.ebuild?rev=1.7&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mknbi/mknbi-1.4.4.ebuild?rev=1.7&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mknbi/mknbi-1.4.4.ebuild?r1=1.6&r2=1.7
14
15 Index: mknbi-1.4.4.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/net-misc/mknbi/mknbi-1.4.4.ebuild,v
18 retrieving revision 1.6
19 retrieving revision 1.7
20 diff -u -r1.6 -r1.7
21 --- mknbi-1.4.4.ebuild 2 Jul 2007 15:02:07 -0000 1.6
22 +++ mknbi-1.4.4.ebuild 31 Aug 2008 04:36:02 -0000 1.7
23 @@ -1,6 +1,6 @@
24 -# Copyright 1999-2007 Gentoo Foundation
25 +# Copyright 1999-2008 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/mknbi/mknbi-1.4.4.ebuild,v 1.6 2007/07/02 15:02:07 peper Exp $
28 +# $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 $
29
30 inherit toolchain-funcs eutils
31
32 @@ -14,31 +14,41 @@
33 KEYWORDS="x86"
34 IUSE=""
35
36 -DEPEND=">=dev-lang/perl-5.6.1
37 - dev-lang/nasm
38 +RDEPEND=">=dev-lang/perl-5.6.1
39 !sys-boot/netboot"
40 +DEPEND="${RDEPEND}
41 + dev-lang/nasm"
42
43 src_unpack() {
44 unpack ${A}
45 cd "${S}"
46 - epatch "${FILESDIR}"/mknbi-1.4.3-nossp.patch
47 - epatch "${FILESDIR}"/${P}-gcc4.patch
48 -
49 - sed -i -e "s:\/usr\/local:\/usr:" Makefile
50 - sed -i -e "s:\-mcpu:\-march:" Makefile
51 + epatch \
52 + "${FILESDIR}"/mknbi-1.4.3-nossp.patch \
53 + "${FILESDIR}"/${P}-gcc4.patch
54 +
55 + sed -i \
56 + -e "s:\/usr\/local:\/usr:" \
57 + -e "s:COPYING::" \
58 + -e "s:\-mcpu:\-march:" Makefile \
59 + || die "sed failed"
60
61 #apply modifications to CFLAGS to fix for gcc 3.4: bug #64049
62 if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ]
63 then
64 - sed -i -e 's:\-mcpu:\-mtune:' Makefile
65 - sed -i -e 's:CFLAGS=:CFLAGS= -minline-all-stringops:' Makefile
66 + sed -i \
67 + -e 's:\-mcpu:\-mtune:' \
68 + -e 's:CFLAGS=:CFLAGS= -minline-all-stringops:' Makefile \
69 + || die "sed failed"
70 fi
71 if [ "`gcc-major-version`" = "4" ]; then
72 - sed -i -e 's:\-fno-stack-protector-all::' Makefile
73 + sed -i \
74 + -e 's:\-fno-stack-protector-all::' Makefile \
75 + || die "sed failed"
76 fi
77 }
78
79 src_install() {
80 export BUILD_ROOT="${D}"
81 - make DESTDIR="${D}" install || die "Installation failed"
82 + emake DESTDIR="${D}" install || die "emake failed"
83 + prepalldocs
84 }
85
86
87
88 1.21 net-misc/mknbi/ChangeLog
89
90 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mknbi/ChangeLog?rev=1.21&view=markup
91 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mknbi/ChangeLog?rev=1.21&content-type=text/plain
92 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mknbi/ChangeLog?r1=1.20&r2=1.21
93
94 Index: ChangeLog
95 ===================================================================
96 RCS file: /var/cvsroot/gentoo-x86/net-misc/mknbi/ChangeLog,v
97 retrieving revision 1.20
98 retrieving revision 1.21
99 diff -u -r1.20 -r1.21
100 --- ChangeLog 31 Jul 2007 02:18:58 -0000 1.20
101 +++ ChangeLog 31 Aug 2008 04:36:02 -0000 1.21
102 @@ -1,6 +1,9 @@
103 # ChangeLog for net-misc/mknbi
104 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
105 -# $Header: /var/cvsroot/gentoo-x86/net-misc/mknbi/ChangeLog,v 1.20 2007/07/31 02:18:58 mr_bones_ Exp $
106 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
107 +# $Header: /var/cvsroot/gentoo-x86/net-misc/mknbi/ChangeLog,v 1.21 2008/08/31 04:36:02 mr_bones_ Exp $
108 +
109 + 31 Aug 2008; Michael Sterrett <mr_bones_@g.o> mknbi-1.4.4.ebuild:
110 + fix bug #221449 and tidy ebuild
111
112 31 Jul 2007; Michael Sterrett <mr_bones_@g.o> -mknbi-1.4.3.ebuild:
113 clean older ebuild