creffett    14/06/19 12:54:43

  Modified:             micropolis-1.0.ebuild ChangeLog
  Log:
  [QA] Respect LDFLAGS wrt bug 335095, credit to Christophe Lefebvre 
<[email protected]> for the fix.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
28DB029C)

Revision  Changes    Path
1.7                  games-simulation/micropolis/micropolis-1.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/micropolis/micropolis-1.0.ebuild?rev=1.7&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/micropolis/micropolis-1.0.ebuild?rev=1.7&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/micropolis/micropolis-1.0.ebuild?r1=1.6&r2=1.7

Index: micropolis-1.0.ebuild
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/games-simulation/micropolis/micropolis-1.0.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- micropolis-1.0.ebuild       9 Mar 2010 12:23:23 -0000       1.6
+++ micropolis-1.0.ebuild       19 Jun 2014 12:54:43 -0000      1.7
@@ -1,6 +1,7 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/games-simulation/micropolis/micropolis-1.0.ebuild,v 1.6 
2010/03/09 12:23:23 abcd Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/games-simulation/micropolis/micropolis-1.0.ebuild,v 1.7 
2014/06/19 12:54:43 creffett Exp $
+EAPI=5
 
 inherit eutils games
 
@@ -26,16 +27,19 @@
 dir="${GAMES_DATADIR}/${PN}"
 
 src_unpack() {
-       unpack "${PN}-activity-source.tgz"
-       cd "${S}"
+       unpack ${PN}-activity-source.tgz
+}
 
+src_prepare() {
        epatch "${DISTDIR}"/${PN}_git.patch
        sed -i -e "s:-O3:${CFLAGS}:" \
                src/tclx/config.mk src/{sim,tcl,tk}/makefile || die
+       sed -i -e "s:XLDFLAGS=:&${LDFLAGS}:" \
+               src/tclx/config.mk || die
 }
 
 src_compile() {
-       emake -C src || die
+       emake -C src LDFLAGS="${LDFLAGS}" || die
 }
 
 src_install() {



1.5                  games-simulation/micropolis/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/micropolis/ChangeLog?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/micropolis/ChangeLog?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/micropolis/ChangeLog?r1=1.4&r2=1.5

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-simulation/micropolis/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog   9 Mar 2010 12:23:23 -0000       1.4
+++ ChangeLog   19 Jun 2014 12:54:43 -0000      1.5
@@ -1,6 +1,10 @@
 # ChangeLog for games-simulation/micropolis
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/micropolis/ChangeLog,v 1.4 
2010/03/09 12:23:23 abcd Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/micropolis/ChangeLog,v 1.5 
2014/06/19 12:54:43 creffett Exp $
+
+  19 Jun 2014; Chris Reffett <[email protected]> micropolis-1.0.ebuild:
+  [QA] Respect LDFLAGS wrt bug 335095, credit to Christophe Lefebvre
+  <[email protected]> for the fix.
 
   09 Mar 2010; Jonathan Callen <[email protected]> micropolis-1.0.ebuild:
   QA: When not using an absolute path, you MUST NOT use a file extension
@@ -16,4 +20,3 @@
 
   11 Jun 2008; Hanno Boeck <[email protected]> +micropolis-1.0.ebuild:
   Initial commit, based on the ebuilds from matsuu and Mike Gualtieri.
-




Reply via email to