summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Freeman <rich0@gentoo.org>2008-03-22 13:14:22 +0000
committerRichard Freeman <rich0@gentoo.org>2008-03-22 13:14:22 +0000
commitc47904f358369091adb855c8f3ccdf52068e2034 (patch)
treef018e45d2d4b0d1334295ae69c3c4e7f83707bd1 /games-rpg
parentStable on alpha, bug #214226 (diff)
downloadgentoo-2-c47904f358369091adb855c8f3ccdf52068e2034.tar.gz
gentoo-2-c47904f358369091adb855c8f3ccdf52068e2034.tar.bz2
gentoo-2-c47904f358369091adb855c8f3ccdf52068e2034.zip
fixed compile failure with USE=debug - 214107 - patch by Jose Marino
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/eternal-lands/ChangeLog6
-rw-r--r--games-rpg/eternal-lands/eternal-lands-1.5.0-r1.ebuild10
2 files changed, 14 insertions, 2 deletions
diff --git a/games-rpg/eternal-lands/ChangeLog b/games-rpg/eternal-lands/ChangeLog
index b4cc161813ee..10e476a18371 100644
--- a/games-rpg/eternal-lands/ChangeLog
+++ b/games-rpg/eternal-lands/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-rpg/eternal-lands
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/ChangeLog,v 1.38 2008/01/15 19:34:47 rich0 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/ChangeLog,v 1.39 2008/03/22 13:14:22 rich0 Exp $
+
+ 22 Mar 2008; Richard Freeman <rich0@gentoo.org>
+ eternal-lands-1.5.0-r1.ebuild:
+ fixed compile failure with USE=debug - 214107 - patch by Jose Marino
*eternal-lands-1.5.0-r1 (15 Jan 2008)
diff --git a/games-rpg/eternal-lands/eternal-lands-1.5.0-r1.ebuild b/games-rpg/eternal-lands/eternal-lands-1.5.0-r1.ebuild
index 490a39269d06..a74354d80948 100644
--- a/games-rpg/eternal-lands/eternal-lands-1.5.0-r1.ebuild
+++ b/games-rpg/eternal-lands/eternal-lands-1.5.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/eternal-lands-1.5.0-r1.ebuild,v 1.1 2008/01/15 19:34:47 rich0 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/eternal-lands-1.5.0-r1.ebuild,v 1.2 2008/03/22 13:14:22 rich0 Exp $
inherit eutils flag-o-matic games
@@ -103,6 +103,14 @@ src_unpack() {
sed -i -e 's:FEATURES:EL_FEATURES:' make.defaults
sed -i -e 's:FEATURES:EL_FEATURES:' Makefile.linux
sed -i -e 's:FEATURES:EL_FEATURES:' Makefile
+
+ if use debug; then
+ sed -i -e 's/#\(EL_FEATURES += MEMORY_DEBUG\)/\1/' make.defaults
+ sed -i -e 's/#\(EL_FEATURES += MEMORY_DEBUG\)/\1/' Makefile.linux
+ sed -i -e 's/#\(EL_FEATURES += MEMORY_DEBUG\)/\1/' Makefile
+ fi
+
+
}
src_compile() {