summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2009-06-14 00:17:47 +0000
committerTristan Heaven <nyhm@gentoo.org>2009-06-14 00:17:47 +0000
commit0241e25c91deea154397954772cc25523825fe11 (patch)
tree4533f0dce7a93e3e4d4640bcd2d0088440201c86 /games-mud/crystal/crystal-0.2.2.ebuild
parentFix building with glibc-2.10, bug #273528 (diff)
downloadgentoo-2-0241e25c91deea154397954772cc25523825fe11.tar.gz
gentoo-2-0241e25c91deea154397954772cc25523825fe11.tar.bz2
gentoo-2-0241e25c91deea154397954772cc25523825fe11.zip
Fix building with glibc-2.10, bug #273498
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'games-mud/crystal/crystal-0.2.2.ebuild')
-rw-r--r--games-mud/crystal/crystal-0.2.2.ebuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/games-mud/crystal/crystal-0.2.2.ebuild b/games-mud/crystal/crystal-0.2.2.ebuild
index 41a253dcd827..4dd6ca682e70 100644
--- a/games-mud/crystal/crystal-0.2.2.ebuild
+++ b/games-mud/crystal/crystal-0.2.2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/crystal/crystal-0.2.2.ebuild,v 1.2 2008/05/01 10:30:07 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-mud/crystal/crystal-0.2.2.ebuild,v 1.3 2009/06/14 00:17:47 nyhm Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="The crystal MUD client"
@@ -17,18 +18,16 @@ DEPEND="sys-libs/zlib
sys-libs/ncurses
dev-libs/openssl"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch \
"${FILESDIR}"/${P}-64bit.patch \
- "${FILESDIR}"/${P}-gcc43.patch
+ "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-glibc2.10.patch
}
-src_compile() {
+src_configure() {
egamesconf \
--disable-scripting || die
- emake || die "emake failed"
}
src_install() {