Fix bug #167790 and bug #20131
authorRaúl Porcel <armin76@gentoo.org>
Tue, 26 Feb 2008 18:21:05 +0000 (18:21 +0000)
committerRaúl Porcel <armin76@gentoo.org>
Tue, 26 Feb 2008 18:21:05 +0000 (18:21 +0000)
Package-Manager: portage-2.1.4.4
RepoMan-Options: --force

sys-devel/dev86/ChangeLog
sys-devel/dev86/Manifest
sys-devel/dev86/dev86-0.16.17-r3.ebuild [deleted file]
sys-devel/dev86/dev86-0.16.17-r5.ebuild [moved from sys-devel/dev86/dev86-0.16.17-r4.ebuild with 73% similarity]

index 2cdf46d0a45427f45520d47b661a3dcfd38cf865..c1de90ca9130f67426ab529c3ebf57541f20efab 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for sys-devel/dev86
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/ChangeLog,v 1.9 2007/11/04 14:10:11 masterdriverz Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/ChangeLog,v 1.10 2008/02/26 18:21:05 armin76 Exp $
+
+*dev86-0.16.17-r5 (26 Feb 2008)
+
+  26 Feb 2008; Raúl Porcel <armin76@gentoo.org> -dev86-0.16.17-r3.ebuild,
+  -dev86-0.16.17-r4.ebuild, +dev86-0.16.17-r5.ebuild:
+  Fix bug #167790 and bug #20131
 
 *dev86-0.16.17-r4 (04 Nov 2007)
 
index 1de84ad71b87d5de2825c595634b51bc51f08c64..b1a623816eede1dcc86a176504d409142cdcffdd 100644 (file)
@@ -1,6 +1,5 @@
 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
-EBUILD dev86-0.16.17-r3.ebuild 1272 RMD160 6123a55871860a04d6ec4f0426fae608fb7cd1d0 SHA1 5cd5c6fde4d055b6f8bc0ef8e89c09674d50b438 SHA256 aae15d3571d081cba7dd8701fe4639d4c20131917d23d7185996cc4dc788a87a
-EBUILD dev86-0.16.17-r4.ebuild 1282 RMD160 33546ef4db887df66b8cb5dd1c816e6727b6edd2 SHA1 b6de462c2387eff915a383392c6beac047a7c041 SHA256 08e78ab0a5cf343d016a9781bebe3bf92c651d5385cc1d1337c2e48c241bcdee
-MISC ChangeLog 1539 RMD160 cef16b0aadb14d9742dec15ed72f78ab704b79be SHA1 3550bb0abdbbda13bbf796a745c4b72680f8f2a4 SHA256 53c2e4f2da8c66ceb0136bac437566ead39f2e3f3d0886b3226dce9c356e07a2
+EBUILD dev86-0.16.17-r5.ebuild 1482 RMD160 9f5de9a6d5099cf8f4a2cb3a48a554bcb6828098 SHA1 46cb426d170aa11d391c8b4141e25064a5d4477a SHA256 9c400a2d19b6d16e7e93c97417c67a49a932797a29ef9ffb1e4af6514e59251f
+MISC ChangeLog 1730 RMD160 12ccd9ed3aeae9203688dda6fc693f0beebe5e17 SHA1 72221059e6fa14b9b4427036072d2a5596c815db SHA256 0e43f3c2f46a8dfdbb729e7775c15cd7fe30e15f479709886a4d880eea4b6592
 MISC metadata.xml 492 RMD160 cf3ca6965da9055d5cab4e80d7e1249c95165796 SHA1 4bd48b41bc202c122d95c9a44e7f188cdf49ed36 SHA256 d736354234494f7bca63e408d396b0890963f2cb066613499ffcc1b06a920b68
diff --git a/sys-devel/dev86/dev86-0.16.17-r3.ebuild b/sys-devel/dev86/dev86-0.16.17-r3.ebuild
deleted file mode 100644 (file)
index e72bf9e..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/dev86-0.16.17-r3.ebuild,v 1.3 2006/12/11 08:07:53 beu Exp $
-
-inherit eutils
-
-DESCRIPTION="Bruce's C compiler - Simple C compiler to generate 8086 code"
-HOMEPAGE="http://www.cix.co.uk/~mayday"
-SRC_URI="http://www.cix.co.uk/~mayday/dev86/Dev86src-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ~amd64"
-IUSE=""
-
-DEPEND="dev-util/gperf
-               sys-devel/bin86"
-
-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"
-       sed -i -e "s/-O2 -g/${CFLAGS}/" makefile.in
-}
-
-src_compile() {
-       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() {
-       make install-all DIST="${D}" || die
-       install -m 755 bootblocks/makeboot "${D}/usr/bin"
-       # remove all the stuff supplied by bin86
-       rm ${D}/usr/bin/{as,ld,nm,objdump,size}86
-       rm ${D}/usr/man/man1/{as,ld}86.1
-}
similarity index 73%
rename from sys-devel/dev86/dev86-0.16.17-r4.ebuild
rename to sys-devel/dev86/dev86-0.16.17-r5.ebuild
index 8eaf0cca245af299df313fa6a435ba8cdcd7e5f9..ed4c74c1a962c8c27da2f8d8fc9cb7e6f98076e5 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/dev86-0.16.17-r4.ebuild,v 1.1 2007/11/04 14:10:11 masterdriverz Exp $
+# $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 $
 
 inherit eutils
 
@@ -10,7 +10,7 @@ SRC_URI="http://www.cix.co.uk/~mayday/dev86/Dev86src-${PV}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE=""
 
 DEPEND="dev-util/gperf
@@ -28,7 +28,10 @@ src_unpack() {
        fi
        cd ${S}
        epatch "${FILESDIR}/dev86-pic.patch"
-       sed -i -e "s/-O2 -g/${CFLAGS}/" makefile.in
+       sed -i -e "s/-O2 -g/${CFLAGS}/" \
+               -e "s/INEXE=-m 755 -s/INEXE=-m 755/g" makefile.in
+       sed -i -e "s/INSTALL_OPTS=-m 755 -s/INSTALL_OPTS=-m 755/g" bin86/Makefile
+       sed -i -e "s/install -m 755 -s/install -m 755/g" dis88/Makefile
 }
 
 src_compile() {
@@ -50,5 +53,6 @@ src_install() {
        cd "${D}"
        rm usr/bin/{as,ld,nm,objdump,size}86
        rm usr/man/man1/{as,ld}86.1
-       mv usr/man usr/share
+       mkdir -p usr/share/man
+       mv usr/man usr/share/
 }