Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/dev86: ChangeLog dev86-0.16.17-r5.ebuild dev86-0.16.17-r4.ebuild dev86-0.16.17-r3.ebuild
Date: Tue, 26 Feb 2008 18:21:08
Message-Id: E1JU4QL-0002sI-K7@stork.gentoo.org
1 armin76 08/02/26 18:21:05
2
3 Modified: ChangeLog
4 Added: dev86-0.16.17-r5.ebuild
5 Removed: dev86-0.16.17-r4.ebuild dev86-0.16.17-r3.ebuild
6 Log:
7 Fix bug #167790 and bug #20131
8 (Portage version: 2.1.4.4, RepoMan options: --force)
9
10 Revision Changes Path
11 1.10 sys-devel/dev86/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/dev86/ChangeLog?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/dev86/ChangeLog?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/dev86/ChangeLog?r1=1.9&r2=1.10
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-devel/dev86/ChangeLog,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- ChangeLog 4 Nov 2007 14:10:11 -0000 1.9
24 +++ ChangeLog 26 Feb 2008 18:21:05 -0000 1.10
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-devel/dev86
27 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/ChangeLog,v 1.9 2007/11/04 14:10:11 masterdriverz Exp $
29 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/ChangeLog,v 1.10 2008/02/26 18:21:05 armin76 Exp $
31 +
32 +*dev86-0.16.17-r5 (26 Feb 2008)
33 +
34 + 26 Feb 2008; Raúl Porcel <armin76@g.o> -dev86-0.16.17-r3.ebuild,
35 + -dev86-0.16.17-r4.ebuild, +dev86-0.16.17-r5.ebuild:
36 + Fix bug #167790 and bug #20131
37
38 *dev86-0.16.17-r4 (04 Nov 2007)
39
40
41
42
43 1.1 sys-devel/dev86/dev86-0.16.17-r5.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/dev86/dev86-0.16.17-r5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/dev86/dev86-0.16.17-r5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: dev86-0.16.17-r5.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/dev86-0.16.17-r5.ebuild,v 1.1 2008/02/26 18:21:05 armin76 Exp $
53
54 inherit eutils
55
56 DESCRIPTION="Bruce's C compiler - Simple C compiler to generate 8086 code"
57 HOMEPAGE="http://www.cix.co.uk/~mayday"
58 SRC_URI="http://www.cix.co.uk/~mayday/dev86/Dev86src-${PV}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 x86"
63 IUSE=""
64
65 DEPEND="dev-util/gperf
66 sys-devel/bin86"
67
68 src_unpack() {
69 unpack "${A}"
70 # elksemu doesn't compile under amd64
71 if use amd64; then
72 einfo "Not compiling elksemu on amd64"
73 sed -i.orig \
74 -e 's,alt-libs elksemu,alt-libs,' \
75 -e 's,install-lib install-emu,install-lib,' \
76 ${S}/makefile.in
77 fi
78 cd ${S}
79 epatch "${FILESDIR}/dev86-pic.patch"
80 sed -i -e "s/-O2 -g/${CFLAGS}/" \
81 -e "s/INEXE=-m 755 -s/INEXE=-m 755/g" makefile.in
82 sed -i -e "s/INSTALL_OPTS=-m 755 -s/INSTALL_OPTS=-m 755/g" bin86/Makefile
83 sed -i -e "s/install -m 755 -s/install -m 755/g" dis88/Makefile
84 }
85
86 src_compile() {
87 emake -j1 DIST="${D}" || die
88
89 export PATH=${S}/bin:${PATH}
90 cd bin
91 ln -s ncc bcc
92 cd ..
93 cd bootblocks
94 ln -s ../bcc/version.h .
95 emake DIST="${D}" || die
96 }
97
98 src_install() {
99 make install-all DIST="${D}" || die
100 dobin bootblocks/makeboot
101 # remove all the stuff supplied by bin86
102 cd "${D}"
103 rm usr/bin/{as,ld,nm,objdump,size}86
104 rm usr/man/man1/{as,ld}86.1
105 mkdir -p usr/share/man
106 mv usr/man usr/share/
107 }
108
109
110
111 --
112 gentoo-commits@l.g.o mailing list