summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-07-02 21:25:34 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-07-02 21:25:34 +0000
commitafb88314ca1b2fcc43063dbf998176bf65e90298 (patch)
treeb2d388714d7f2ba6c2f4e90d3a798328e2916b06 /games-emulation/mamory
parentUpdate NoMachine license (diff)
downloadgentoo-2-afb88314ca1b2fcc43063dbf998176bf65e90298.tar.gz
gentoo-2-afb88314ca1b2fcc43063dbf998176bf65e90298.tar.bz2
gentoo-2-afb88314ca1b2fcc43063dbf998176bf65e90298.zip
Make sure the system expat is used
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'games-emulation/mamory')
-rw-r--r--games-emulation/mamory/ChangeLog5
-rw-r--r--games-emulation/mamory/mamory-0.2.23.ebuild16
2 files changed, 13 insertions, 8 deletions
diff --git a/games-emulation/mamory/ChangeLog b/games-emulation/mamory/ChangeLog
index c2e093ef0d7f..c520cccf985c 100644
--- a/games-emulation/mamory/ChangeLog
+++ b/games-emulation/mamory/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-emulation/mamory
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/mamory/ChangeLog,v 1.19 2007/01/19 02:16:54 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mamory/ChangeLog,v 1.20 2007/07/02 21:25:34 nyhm Exp $
+
+ 02 Jul 2007; Tristan Heaven <nyhm@gentoo.org> mamory-0.2.23.ebuild:
+ Make sure the system expat is used
*mamory-0.2.23 (19 Jan 2007)
diff --git a/games-emulation/mamory/mamory-0.2.23.ebuild b/games-emulation/mamory/mamory-0.2.23.ebuild
index 6a70b0ca04d8..de8018bc2189 100644
--- a/games-emulation/mamory/mamory-0.2.23.ebuild
+++ b/games-emulation/mamory/mamory-0.2.23.ebuild
@@ -1,9 +1,7 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/mamory/mamory-0.2.23.ebuild,v 1.1 2007/01/19 02:16:54 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mamory/mamory-0.2.23.ebuild,v 1.2 2007/07/02 21:25:34 nyhm Exp $
-WANT_AUTOCONF=latest
-WANT_AUTOMAKE=latest
inherit autotools games
DESCRIPTION="ROM management tools and library"
@@ -15,24 +13,28 @@ SLOT="0"
KEYWORDS="~amd64 ppc x86"
IUSE=""
-DEPEND=""
-RDEPEND=""
+DEPEND="dev-libs/expat"
src_unpack() {
unpack ${A}
cd "${S}"
+ # Make sure the system expat is used
+ sed -i \
+ -e 's/#ifdef.*SYSEXPAT/#if 1/' \
+ mamory/amlxml.c mamory/amlxml.h \
+ || die "sed amlxml failed"
# Remove hardcoded CFLAGS options
sed -i \
-e '/AC_ARG_ENABLE(debug,/ {N;N;N;d}' \
configure.ac \
- || die "sed failed"
+ || die "sed configure.ac failed"
# Make it possible for eautoreconf to fix fPIC etc.
sed -i \
-e '/libcommon_la_LDFLAGS= -static/d' \
common/Makefile.am \
- || die "sed failed"
+ || die "sed Makefile.am failed"
AT_M4DIR="config" eautoreconf || die
}