grobian     15/02/03 21:04:09

  Modified:             csu-79.ebuild ChangeLog
  Added:                csu-85.ebuild
  Log:
  Version bump to version from Darwin14, based on ebuild and patch by Michael 
Weiser, bug #538602
  
  (Portage version: 2.2.14-prefix/cvs/Darwin i386, signed Manifest commit with 
key 0x5F75F607C5C74E89)

Revision  Changes    Path
1.4                  sys-libs/csu/csu-79.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/csu/csu-79.ebuild?rev=1.4&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/csu/csu-79.ebuild?rev=1.4&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/csu/csu-79.ebuild?r1=1.3&r2=1.4

Index: csu-79.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/csu/csu-79.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- csu-79.ebuild       4 Sep 2011 13:20:29 -0000       1.3
+++ csu-79.ebuild       3 Feb 2015 21:04:09 -0000       1.4
@@ -1,10 +1,10 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/csu/csu-79.ebuild,v 1.3 2011/09/04 
13:20:29 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/csu/csu-79.ebuild,v 1.4 2015/02/03 
21:04:09 grobian Exp $
 
 EAPI=3
 
-DESCRIPTION="Darwin Csu (crt1.o) - Mac OS X 10.6.6 and 10.7 versions"
+DESCRIPTION="Darwin Csu (crt1.o) - Mac OS X 10.6.6 to 10.9.5 versions"
 HOMEPAGE="http://www.opensource.apple.com/";
 SRC_URI="http://www.opensource.apple.com/tarballs/Csu/Csu-${PV}.tar.gz";
 
@@ -21,6 +21,15 @@
                -e 's:$(SYMROOT)/crt0.o::' \
                -e '/LOCLIBDIR)\/crt0.o/d' \
                Makefile || die
+
+       if [[ ${CHOST} == powerpc-*-darwin* && ${CHOST##*-darwin} -le 8 ]] ; 
then
+               # *must not* be compiled with -Os on PPC because that will
+               # optimize out _pointer_to__darwin_gcc3_preregister_frame_info
+               # which causes linker errors for large programs because the
+               # jump to ___darwin_gcc3_preregister_frame_info gets to be more
+               # than 16MB away
+               sed -i -e "s, -Os , -O ,g" Makefile || die
+       fi
 }
 
 src_compile() {



1.8                  sys-libs/csu/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/csu/ChangeLog?rev=1.8&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/csu/ChangeLog?rev=1.8&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/csu/ChangeLog?r1=1.7&r2=1.8

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/csu/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog   4 Sep 2011 13:20:29 -0000       1.7
+++ ChangeLog   3 Feb 2015 21:04:09 -0000       1.8
@@ -1,6 +1,13 @@
 # ChangeLog for sys-libs/csu
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/csu/ChangeLog,v 1.7 2011/09/04 
13:20:29 grobian Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/csu/ChangeLog,v 1.8 2015/02/03 
21:04:09 grobian Exp $
+
+*csu-85 (03 Feb 2015)
+
+  03 Feb 2015; Fabian Groffen <[email protected]> +csu-85.ebuild,
+  +files/csu-85-darwin8.patch, csu-79.ebuild:
+  Version bump to version from Darwin14, based on ebuild and patch by Michael
+  Weiser, bug #538602
 
   04 Sep 2011; Fabian Groffen <[email protected]> csu-79.ebuild:
   Fix build on case-sensitive volumes, bug #381779
@@ -28,4 +35,3 @@
 
   15 Nov 2004; Kito <[email protected]> +csu-46.ebuild:
   initial import. added ~ppc-macos
-



1.1                  sys-libs/csu/csu-85.ebuild

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

Index: csu-85.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/csu/csu-85.ebuild,v 1.1 2015/02/03 
21:04:09 grobian Exp $

EAPI=5

inherit eutils

DESCRIPTION="Darwin Csu (crt1.o) - Mac OS X 10.10 version"
HOMEPAGE="http://www.opensource.apple.com/";
SRC_URI="http://www.opensource.apple.com/tarballs/Csu/Csu-${PV}.tar.gz";

LICENSE="APSL-2"

SLOT="0"
KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"
IUSE=""
S=${WORKDIR}/Csu-${PV}

src_prepare() {
        # since we don't have crt0, we can't build it either
        sed -i \
                -e 's:$(SYMROOT)/crt0.o::' \
                -e '/LOCLIBDIR)\/crt0.o/d' \
                -e '/^CC = /d' \
                Makefile || die

        if [[ ${CHOST##*-darwin} -le 8 ]] ; then
                # Availability.h missing
                epatch "${FILESDIR}"/${P}-darwin8.patch

                if [[ ${CHOST} == powerpc* ]] ; then
                        # *must not* be compiled with -Os on PPC because that
                        # will optimize out
                        # _pointer_to__darwin_gcc3_preregister_frame_info which
                        # causes linker errors for large programs because the
                        # jump to ___darwin_gcc3_preregister_frame_info gets to
                        # be more than 16MB away
                        sed -i -e "s, -Os , -O ,g" Makefile || die
                fi
        fi
}

src_compile() {
        emake USRLIBDIR="${EPREFIX}"/lib || die
}

src_install() {
        emake -j1 \
                USRLIBDIR="${EPREFIX}"/lib \
                LOCLIBDIR="${EPREFIX}"/lib \
                DSTROOT="${D}" \
                install || die
}




Reply via email to