mr_bones_    15/02/19 09:21:35

  Modified:             sge-030809.ebuild ChangeLog
  Log:
  EAPI=5
  
  (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.13                 media-libs/sge/sge-030809.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sge/sge-030809.ebuild?rev=1.13&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sge/sge-030809.ebuild?rev=1.13&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sge/sge-030809.ebuild?r1=1.12&r2=1.13

Index: sge-030809.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/sge/sge-030809.ebuild,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- sge-030809.ebuild   27 Jul 2008 08:17:00 -0000      1.12
+++ sge-030809.ebuild   19 Feb 2015 09:21:35 -0000      1.13
@@ -1,8 +1,9 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sge/sge-030809.ebuild,v 1.12 
2008/07/27 08:17:00 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sge/sge-030809.ebuild,v 1.13 
2015/02/19 09:21:35 mr_bones_ Exp $
 
-inherit eutils multilib
+EAPI=5
+inherit eutils multilib toolchain-funcs
 
 MY_P="sge${PV}"
 DESCRIPTION="Graphics extensions library for SDL"
@@ -20,37 +21,36 @@
 
 S="${WORKDIR}/${MY_P}"
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
+src_prepare() {
        epatch \
                "${FILESDIR}"/${P}-build.patch \
                "${FILESDIR}"/${P}-freetype.patch \
                "${FILESDIR}"/${P}-cmap.patch
-       sed -i "s:\$(PREFIX)/lib:\$(PREFIX)/$(get_libdir):" Makefile \
-               || die "sed failed"
-}
-
-src_compile() {
+       sed -i "s:\$(PREFIX)/lib:\$(PREFIX)/$(get_libdir):" Makefile || die
+       sed -i \
+               -e '/^CC=/d' \
+               -e '/^CXX=/d' \
+               -e '/^AR=/d' \
+               Makefile.conf || die
+       tc-export CC CXX AR
        # make sure the header gets regenerated everytime
        rm -f sge_config.h
+}
 
-       yesno() { use $1 && echo y || echo n ; }
+src_compile() {
        emake \
-               USE_IMG=$(yesno image) \
-               USE_FT=$(yesno truetype) \
-               || die "emake failed"
+               USE_IMG=$(usex image y n) \
+               USE_FT=$(usex truetype y n)
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed"
-
-       dodoc README Todo WhatsNew
+       DOCS="README Todo WhatsNew" \
+               default
 
        use doc && dohtml docs/*
 
        if use examples ; then
                insinto /usr/share/doc/${PF}
-               doins -r examples || die "doins failed"
+               doins -r examples
        fi
 }



1.10                 media-libs/sge/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sge/ChangeLog?rev=1.10&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sge/ChangeLog?rev=1.10&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sge/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/sge/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog   27 Jul 2008 08:17:00 -0000      1.9
+++ ChangeLog   19 Feb 2015 09:21:35 -0000      1.10
@@ -1,6 +1,9 @@
 # ChangeLog for media-libs/sge
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sge/ChangeLog,v 1.9 2008/07/27 
08:17:00 nixnut Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sge/ChangeLog,v 1.10 2015/02/19 
09:21:35 mr_bones_ Exp $
+
+  19 Feb 2015; Michael Sterrett <[email protected]> sge-030809.ebuild:
+  EAPI=5
 
   27 Jul 2008; nixnut <[email protected]> sge-030809.ebuild:
   Stable on ppc wrt bug 232702




Reply via email to