summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2010-12-07 07:40:05 +0000
committerLars Wendler <polynomial-c@gentoo.org>2010-12-07 07:40:05 +0000
commit7b023a9eb101dbc87e8a540c43b7e96b20fb6021 (patch)
treee81b40848c420a5b7297363cf722caccd6b14624 /sys-devel
parentVersion bump and cleanup. (diff)
downloadhistorical-7b023a9eb101dbc87e8a540c43b7e96b20fb6021.tar.gz
historical-7b023a9eb101dbc87e8a540c43b7e96b20fb6021.tar.bz2
historical-7b023a9eb101dbc87e8a540c43b7e96b20fb6021.zip
Version bump.
Package-Manager: portage-2.2.0_alpha7/cvs/Linux x86_64
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/dev86/ChangeLog7
-rw-r--r--sys-devel/dev86/Manifest4
-rw-r--r--sys-devel/dev86/dev86-0.16.18.ebuild66
3 files changed, 75 insertions, 2 deletions
diff --git a/sys-devel/dev86/ChangeLog b/sys-devel/dev86/ChangeLog
index 11d18ab7f17e..585a55cadd98 100644
--- a/sys-devel/dev86/ChangeLog
+++ b/sys-devel/dev86/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-devel/dev86
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/ChangeLog,v 1.18 2010/11/15 06:19:51 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/ChangeLog,v 1.19 2010/12/07 07:40:05 polynomial-c Exp $
+
+*dev86-0.16.18 (07 Dec 2010)
+
+ 07 Dec 2010; Lars Wendler <polynomial-c@gentoo.org> +dev86-0.16.18.ebuild:
+ Version bump.
15 Nov 2010; Lars Wendler <polynomial-c@gentoo.org>
dev86-0.16.17-r6.ebuild:
diff --git a/sys-devel/dev86/Manifest b/sys-devel/dev86/Manifest
index 77e449bbaf19..d88b02536966 100644
--- a/sys-devel/dev86/Manifest
+++ b/sys-devel/dev86/Manifest
@@ -2,6 +2,8 @@ AUX dev86-0.16.17-fortify.patch 658 RMD160 6f5e67311af5b9dee3603d31dee8efe01e654
AUX dev86-0.16.17-make382.patch 299 RMD160 4edcd60bbdb50e5c47957e35dc9695611c185cc4 SHA1 58eb8869b13dc11a7d3a0c889940a6ce23933cfc SHA256 782d221b2e829a29e4d056d1d52b7c6d0b1ccfc21fc7ce7c07416a28a64303ef
AUX dev86-pic.patch 546 RMD160 0e2fb431bf1175f8194ea7c26eeb60ffc84fd619 SHA1 ea618f125232cbcf0762a2e21cb39a73d136f890 SHA256 d1859e3409a70a6b78bdf7ef6664421b1ce272b068836b8fb93b5fce1b20d440
DIST Dev86src-0.16.17.tar.gz 703028 RMD160 b603d2cce807cd20b09695d14538cae8ab8cc371 SHA1 0bfe55c7a5e11d72f19f26cb0383178605951c72 SHA256 52ed4980c0e4b68d2624aadb0ceb0339cb3fd8dd7c2175419d4f77a451846cbe
+DIST Dev86src-0.16.18.tar.gz 705030 RMD160 49f3347e64884fe6cb75847a538a369c91212818 SHA1 da665d855963419cac5578736417cae8d1f8b5b0 SHA256 049852a83898d3ee0ba97b88e526897ec6eaf0a051f4af1e9e073b1151178ff1
EBUILD dev86-0.16.17-r6.ebuild 1660 RMD160 3e8636e7f429b478a12368c9762897962facab8f SHA1 3b1338f8734e85bdbaa7f8991f3f9141b8c23bbd SHA256 cd2062e83e28a6ce0a31f8e27f16069bf44f020f005bb2ce2f5f77aa83aaeff1
-MISC ChangeLog 2790 RMD160 e5f8aec7eb22a5bf16ffeceee36efb06cfaead70 SHA1 c766348a50b4f08d1d87a0706f63d0e9b800f2cc SHA256 f413948d0cbaca75325134bfe130c17a69b01bfbbdfc0fe148844e4d103b4700
+EBUILD dev86-0.16.18.ebuild 1627 RMD160 e681b1eb85380806216e918e65ffa5abc923366a SHA1 cb46eaaf04dfb3745e62065b5e959dd72248db1f SHA256 69a1bdfc3986d5579b27cde392a71c0fb291de8ade00ead1330a3f1ad766a018
+MISC ChangeLog 2914 RMD160 ec1c154c3e027f8786bf3f7ff573b7833b61749c SHA1 8634dfbeea45fcf5dec0980452c8b626b168b32f SHA256 ce72a2439c372701c69c631f2bfcf04198a04dbcb46933a1c48d1d02df44d881
MISC metadata.xml 504 RMD160 a46289d6edaf6fd964c08c12b3b5ca2feeea1d9b SHA1 c2b3ac646756b5bce01ccd06b5bbae67e16644a5 SHA256 086eca0f8e4a848c0c449fada987616928386aff4a829b656a80f27e2a5b3267
diff --git a/sys-devel/dev86/dev86-0.16.18.ebuild b/sys-devel/dev86/dev86-0.16.18.ebuild
new file mode 100644
index 000000000000..eecc1300b561
--- /dev/null
+++ b/sys-devel/dev86/dev86-0.16.18.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/dev86-0.16.18.ebuild,v 1.1 2010/12/07 07:40:05 polynomial-c Exp $
+
+inherit eutils
+
+DESCRIPTION="Bruce's C compiler - Simple C compiler to generate 8086 code"
+HOMEPAGE="http://www.debath.co.uk/"
+SRC_URI="http://www.debath.co.uk/dev86/Dev86src-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="sys-devel/bin86"
+DEPEND="${RDEPEND}
+ dev-util/gperf"
+
+src_unpack() {
+ unpack ${A}
+ # elksemu doesn't compile under amd64
+ if use amd64; then
+ einfo "Not compiling elksemu on amd64"
+ sed -i.orig \
+ -e 's,alt-libs elksemu,alt-libs,' \
+ -e 's,install-lib install-emu,install-lib,' \
+ "${S}"/makefile.in
+ fi
+ cd "${S}"
+ epatch "${FILESDIR}"/dev86-pic.patch
+ epatch "${FILESDIR}"/${PN}-0.16.17-fortify.patch
+ sed -i \
+ -e "s:-O2 -g:${CFLAGS}:" \
+ -e '/INEXE=/s:-s::' \
+ makefile.in
+ sed -i -e '/INSTALL_OPTS=/s:-s::' bin86/Makefile
+ sed -i -e '/install -m 755 -s/s:-s::' dis88/Makefile
+}
+
+src_compile() {
+ # Don't mess with CPPFLAGS as they tend to break compilation
+ # (bug #343655).
+ CPPFLAGS=""
+
+ emake -j1 DIST="${D}" || die
+
+ export PATH=${S}/bin:${PATH}
+ cd bin
+ ln -s ncc bcc
+ cd ..
+ cd bootblocks
+ ln -s ../bcc/version.h .
+ emake DIST="${D}" || die
+}
+
+src_install() {
+ emake -j1 install-all DIST="${D}" || die
+ dobin bootblocks/makeboot || die
+ # remove all the stuff supplied by bin86
+ cd "${D}"
+ rm usr/bin/{as,ld,nm,objdump,size}86 || die
+ rm usr/man/man1/{as,ld}86.1 || die
+ dodir /usr/share/man
+ mv usr/man usr/share/ || die
+}