polynomial-c    14/06/12 12:36:34

  Modified:             ChangeLog
  Added:                dev86-0.16.21.ebuild
  Removed:              dev86-0.16.17-r6.ebuild dev86-0.16.18.ebuild
  Log:
  Version bump. Removed old
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0x981CA6FC)

Revision  Changes    Path
1.30                 sys-devel/dev86/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dev86/ChangeLog?rev=1.30&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dev86/ChangeLog?rev=1.30&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dev86/ChangeLog?r1=1.29&r2=1.30

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/dev86/ChangeLog,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- ChangeLog   18 May 2014 17:26:27 -0000      1.29
+++ ChangeLog   12 Jun 2014 12:36:34 -0000      1.30
@@ -1,6 +1,12 @@
 # ChangeLog for sys-devel/dev86
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/ChangeLog,v 1.29 2014/05/18 
17:26:27 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/ChangeLog,v 1.30 2014/06/12 
12:36:34 polynomial-c Exp $
+
+*dev86-0.16.21 (12 Jun 2014)
+
+  12 Jun 2014; Lars Wendler <[email protected]> -dev86-0.16.17-r6.ebuild,
+  -dev86-0.16.18.ebuild, +dev86-0.16.21.ebuild:
+  Version bump. Removed old.
 
   18 May 2014; Mike Frysinger <[email protected]> dev86-0.16.20.ebuild:
   Add ppc/ppc64 keywords as this project can build on any arch (it will still



1.1                  sys-devel/dev86/dev86-0.16.21.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dev86/dev86-0.16.21.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dev86/dev86-0.16.21.ebuild?rev=1.1&content-type=text/plain

Index: dev86-0.16.21.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/dev86-0.16.21.ebuild,v 1.1 
2014/06/12 12:36:34 polynomial-c Exp $

EAPI="5"

inherit eutils multilib

DESCRIPTION="Bruce's C compiler - Simple C compiler to generate 8086 code"
HOMEPAGE="http://v3.sk/~lkundrak/dev86/";
SRC_URI="http://v3.sk/~lkundrak/dev86/Dev86src-${PV}.tar.gz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE=""

RDEPEND="sys-devel/bin86"
DEPEND="${RDEPEND}
        dev-util/gperf"

STRIP_MASK="/usr/*/bcc/lib*.a /usr/*/i386/libc.a"

src_prepare() {
        # elksemu doesn't compile under amd64
        if use amd64; then
                einfo "Not compiling elksemu on amd64"
                sed -i \
                        -e 's,alt-libs elksemu,alt-libs,' \
                        -e 's,install-lib install-emu,install-lib,' \
                        makefile.in || die
        fi

        epatch "${FILESDIR}"/dev86-pic.patch
        epatch "${FILESDIR}"/${PN}-0.16.19-fortify.patch
        sed -i \
                -e "s:-O2 -g:${CFLAGS}:" \
                -e '/INEXE=/s:-s::' \
                makefile.in || die
        sed -i \
                -e "s:/lib/:/$(get_libdir)/:" \
                bcc/bcc.c || die
        sed -i -e '/INSTALL_OPTS=/s:-s::' bin86/Makefile || die
        sed -i -e '/install -m 755 -s/s:-s::' dis88/Makefile || die
}

src_compile() {
        # Don't mess with CPPFLAGS as they tend to break compilation
        # (bug #343655).
        CPPFLAGS=""

        # First `make` is also a config, so set all the path vars here
        emake -j1 \
                DIST="${D}" \
                CC="$(tc-getCC)" \
                LIBDIR="/usr/$(get_libdir)/bcc" \
                INCLDIR="/usr/$(get_libdir)/bcc"

        export PATH=${S}/bin:${PATH}
        cd bin
        ln -s ncc bcc
        cd ..
        cd bootblocks
        ln -s ../bcc/version.h .
        emake DIST="${D}"
}

src_install() {
        emake -j1 install-all DIST="${D}"
        dobin bootblocks/makeboot
        # 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/
}




Reply via email to