summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-04-21 11:48:50 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-04-21 11:48:50 +0000
commit43725111d5c345a9bab9a3919cda3fd4195e5721 (patch)
tree664329fe123679f71229a99e0780f2577e02a9eb /games-mud/mcl
parentForce python2 . Bug #312265 (diff)
downloadgentoo-2-43725111d5c345a9bab9a3919cda3fd4195e5721.tar.gz
gentoo-2-43725111d5c345a9bab9a3919cda3fd4195e5721.tar.bz2
gentoo-2-43725111d5c345a9bab9a3919cda3fd4195e5721.zip
Force python2 . Bug #312259
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-mud/mcl')
-rw-r--r--games-mud/mcl/ChangeLog7
-rw-r--r--games-mud/mcl/mcl-0.53.00.ebuild22
2 files changed, 17 insertions, 12 deletions
diff --git a/games-mud/mcl/ChangeLog b/games-mud/mcl/ChangeLog
index be5629bd9c97..8da1dffad129 100644
--- a/games-mud/mcl/ChangeLog
+++ b/games-mud/mcl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-mud/mcl
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/ChangeLog,v 1.19 2009/06/13 23:56:18 nyhm Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/ChangeLog,v 1.20 2010/04/21 11:48:50 tupone Exp $
+
+ 21 Apr 2010; Tupone Alfredo <tupone@gentoo.org> mcl-0.53.00.ebuild:
+ Force python2 . Bug #312259 by arfrever@gentoo.org
13 Jun 2009; Tristan Heaven <nyhm@gentoo.org> mcl-0.53.00.ebuild,
+files/mcl-0.53.00-glibc2.10.patch:
diff --git a/games-mud/mcl/mcl-0.53.00.ebuild b/games-mud/mcl/mcl-0.53.00.ebuild
index 94034fa07e72..a139a1dce853 100644
--- a/games-mud/mcl/mcl-0.53.00.ebuild
+++ b/games-mud/mcl/mcl-0.53.00.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/mcl-0.53.00.ebuild,v 1.19 2009/06/13 23:56:18 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/mcl-0.53.00.ebuild,v 1.20 2010/04/21 11:48:50 tupone Exp $
+EAPI="2"
+PYTHON_DEPEND="python? 2"
-inherit eutils games
+inherit eutils python games
DESCRIPTION="A console MUD client scriptable in Perl and Python"
HOMEPAGE="http://www.andreasen.org/mcl/"
@@ -14,13 +16,14 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="python perl"
-DEPEND="perl? ( dev-lang/perl )
- python? ( dev-lang/python )"
+DEPEND="perl? ( dev-lang/perl )"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+pkg_setup() {
+ python_set_active_version 2
+ games_pkg_setup
+}
+src_prepare() {
epatch \
"${FILESDIR}"/${P}-fPIC.patch \
"${FILESDIR}"/${PV}-vc.patch \
@@ -43,12 +46,11 @@ src_unpack() {
|| die "sed failed"
}
-src_compile() {
+src_configure() {
egamesconf \
$(use_enable perl) \
$(use_enable python) \
|| die
- emake || die "emake failed"
}
src_install () {