1 |
vapier 12/11/02 19:03:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dev86-0.16.19.ebuild |
5 |
Log: |
6 |
Version bump. Include fix from Debian for ncc #354351 by Joerg Neikes. Fix stripping errors #413275 by Michele Ciacci. Also fix up libdir handling as bcc had /usr/lib/gcc/ hardcoded. |
7 |
|
8 |
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key FB7C4156) |
9 |
|
10 |
Revision Changes Path |
11 |
1.24 sys-devel/dev86/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dev86/ChangeLog?rev=1.24&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dev86/ChangeLog?rev=1.24&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dev86/ChangeLog?r1=1.23&r2=1.24 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-devel/dev86/ChangeLog,v |
20 |
retrieving revision 1.23 |
21 |
retrieving revision 1.24 |
22 |
diff -u -r1.23 -r1.24 |
23 |
--- ChangeLog 6 Aug 2012 02:28:35 -0000 1.23 |
24 |
+++ ChangeLog 2 Nov 2012 19:03:28 -0000 1.24 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for sys-devel/dev86 |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/ChangeLog,v 1.23 2012/08/06 02:28:35 zerochaos Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/ChangeLog,v 1.24 2012/11/02 19:03:28 vapier Exp $ |
30 |
+ |
31 |
+*dev86-0.16.19 (02 Nov 2012) |
32 |
+ |
33 |
+ 02 Nov 2012; Mike Frysinger <vapier@g.o> +dev86-0.16.19.ebuild, |
34 |
+ +files/dev86-0.16.19-fortify.patch, +files/dev86-0.16.19-memmove.patch: |
35 |
+ Version bump. Include fix from Debian for ncc #354351 by Joerg Neikes. Fix |
36 |
+ stripping errors #413275 by Michele Ciacci. Also fix up libdir handling as |
37 |
+ bcc had /usr/lib/gcc/ hardcoded. |
38 |
|
39 |
06 Aug 2012; Rick Farina <zerochaos@g.o> dev86-0.16.18.ebuild: |
40 |
fixed multilib-strict QA violation |
41 |
|
42 |
|
43 |
|
44 |
1.1 sys-devel/dev86/dev86-0.16.19.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dev86/dev86-0.16.19.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dev86/dev86-0.16.19.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: dev86-0.16.19.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2012 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/dev86-0.16.19.ebuild,v 1.1 2012/11/02 19:03:28 vapier Exp $ |
54 |
|
55 |
EAPI="4" |
56 |
|
57 |
inherit eutils multilib |
58 |
|
59 |
DESCRIPTION="Bruce's C compiler - Simple C compiler to generate 8086 code" |
60 |
HOMEPAGE="http://www.debath.co.uk/" |
61 |
SRC_URI="http://www.debath.co.uk/dev86/Dev86src-${PV}.tar.gz" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="" |
67 |
|
68 |
RDEPEND="sys-devel/bin86" |
69 |
DEPEND="${RDEPEND} |
70 |
dev-util/gperf" |
71 |
|
72 |
STRIP_MASK="/usr/*/bcc/lib*.a /usr/*/i386/libc.a" |
73 |
|
74 |
src_prepare() { |
75 |
# elksemu doesn't compile under amd64 |
76 |
if use amd64; then |
77 |
einfo "Not compiling elksemu on amd64" |
78 |
sed -i \ |
79 |
-e 's,alt-libs elksemu,alt-libs,' \ |
80 |
-e 's,install-lib install-emu,install-lib,' \ |
81 |
makefile.in || die |
82 |
fi |
83 |
|
84 |
epatch "${FILESDIR}"/dev86-pic.patch |
85 |
epatch "${FILESDIR}"/${PN}-0.16.19-fortify.patch |
86 |
epatch "${FILESDIR}"/${PN}-0.16.19-memmove.patch #354351 |
87 |
sed -i \ |
88 |
-e "s:-O2 -g:${CFLAGS}:" \ |
89 |
-e '/INEXE=/s:-s::' \ |
90 |
makefile.in || die |
91 |
sed -i \ |
92 |
-e "s:/lib/:/$(get_libdir)/:" \ |
93 |
bcc/bcc.c || die |
94 |
sed -i -e '/INSTALL_OPTS=/s:-s::' bin86/Makefile || die |
95 |
sed -i -e '/install -m 755 -s/s:-s::' dis88/Makefile || die |
96 |
} |
97 |
|
98 |
src_compile() { |
99 |
# Don't mess with CPPFLAGS as they tend to break compilation |
100 |
# (bug #343655). |
101 |
CPPFLAGS="" |
102 |
|
103 |
# First `make` is also a config, so set all the path vars here |
104 |
emake -j1 \ |
105 |
DIST="${D}" \ |
106 |
CC="$(tc-getCC)" \ |
107 |
LIBDIR="/usr/$(get_libdir)/bcc" \ |
108 |
INCLDIR="/usr/$(get_libdir)/bcc" |
109 |
|
110 |
export PATH=${S}/bin:${PATH} |
111 |
cd bin |
112 |
ln -s ncc bcc |
113 |
cd .. |
114 |
cd bootblocks |
115 |
ln -s ../bcc/version.h . |
116 |
emake DIST="${D}" |
117 |
} |
118 |
|
119 |
src_install() { |
120 |
emake -j1 install-all DIST="${D}" |
121 |
dobin bootblocks/makeboot |
122 |
# remove all the stuff supplied by bin86 |
123 |
cd "${D}" |
124 |
rm usr/bin/{as,ld,nm,objdump,size}86 || die |
125 |
rm usr/man/man1/{as,ld}86.1 || die |
126 |
dodir /usr/share/man |
127 |
mv usr/man usr/share/ |
128 |
} |