From 1658efb8fdf02ae1161fecfc67a626f14a3c11e7 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Mon, 20 Feb 2006 20:17:40 +0000 Subject: Modular X dependency fix Package-Manager: portage-2.1_pre4-r1 --- games-roguelike/hengband/ChangeLog | 7 +++++-- games-roguelike/hengband/Manifest | 14 +++++++++++--- games-roguelike/hengband/files/digest-hengband-1.6.2 | 2 ++ games-roguelike/hengband/hengband-1.6.2.ebuild | 14 ++++++++++---- 4 files changed, 28 insertions(+), 9 deletions(-) (limited to 'games-roguelike/hengband') diff --git a/games-roguelike/hengband/ChangeLog b/games-roguelike/hengband/ChangeLog index 5952a06f3a3c..140543c17b27 100644 --- a/games-roguelike/hengband/ChangeLog +++ b/games-roguelike/hengband/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-roguelike/hengband -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/ChangeLog,v 1.5 2005/07/10 01:14:57 mr_bones_ Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/ChangeLog,v 1.6 2006/02/20 20:17:40 tupone Exp $ + + 20 Feb 2006; hengband-1.6.2.ebuild: + Modular X dependency fix *hengband-1.6.2 (10 Jul 2005) diff --git a/games-roguelike/hengband/Manifest b/games-roguelike/hengband/Manifest index c43d482d8d01..bd0cd7a0c714 100644 --- a/games-roguelike/hengband/Manifest +++ b/games-roguelike/hengband/Manifest @@ -1,4 +1,12 @@ +MD5 697a672864da8b1d06f38eecebf79545 ChangeLog 870 +RMD160 775a341d78691a3d7902ee260a60a33d352e13f5 ChangeLog 870 +SHA256 47fee72c2247d3edbd26f45f23842db62a1cbd883b167e30545c941a57c631fb ChangeLog 870 +MD5 83bdf4c4eb561f0453fdbac580ed14aa files/digest-hengband-1.6.2 250 +RMD160 1d6bd7ed7c5c8263012be78a313347dc1f25055d files/digest-hengband-1.6.2 250 +SHA256 10e56a8a6553c73ad18211103d180ac7104dfcf39cc778bdcd84f29c15ab998f files/digest-hengband-1.6.2 250 +MD5 8276c3562383d27d1b6d4e79595f9206 hengband-1.6.2.ebuild 1447 +RMD160 c4ef8c8595d91ee05ae2260e770d02f067ecdded hengband-1.6.2.ebuild 1447 +SHA256 7ebfdf7784709f1a1883e925ff6f762fd13dc870416999e7767b08955507de9c hengband-1.6.2.ebuild 1447 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 -MD5 b1949f3e3e110f0ce5b26c32a9bf0c6d hengband-1.6.2.ebuild 1249 -MD5 3c4de142b0a79ce51f05dc9dd5884cbc ChangeLog 787 -MD5 f1eff52cf4e3543b2f4d27866a0163ba files/digest-hengband-1.6.2 68 +RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 +SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 diff --git a/games-roguelike/hengband/files/digest-hengband-1.6.2 b/games-roguelike/hengband/files/digest-hengband-1.6.2 index 8da57070a5b9..fc1ce67a7b99 100644 --- a/games-roguelike/hengband/files/digest-hengband-1.6.2 +++ b/games-roguelike/hengband/files/digest-hengband-1.6.2 @@ -1 +1,3 @@ MD5 471048e9f7bf510553f13e23a69c5fef hengband-1.6.2.tar.bz2 2029169 +RMD160 59f41666dd1724f03739d5fa078e537467dbf36e hengband-1.6.2.tar.bz2 2029169 +SHA256 72f1c8dd9365127ccd155b786d2828a19bbd0311a9d62d07bd16a22600c385b4 hengband-1.6.2.tar.bz2 2029169 diff --git a/games-roguelike/hengband/hengband-1.6.2.ebuild b/games-roguelike/hengband/hengband-1.6.2.ebuild index 48ebc2462038..e5bca7680e4a 100644 --- a/games-roguelike/hengband/hengband-1.6.2.ebuild +++ b/games-roguelike/hengband/hengband-1.6.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/hengband-1.6.2.ebuild,v 1.1 2005/07/10 01:14:57 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/hengband-1.6.2.ebuild,v 1.2 2006/02/20 20:17:40 tupone Exp $ inherit games @@ -13,12 +13,18 @@ LICENSE="Moria" SLOT="0" IUSE="cjk X" -DEPEND=">=sys-libs/ncurses-5 - X? ( virtual/x11 )" +RDEPEND=">=sys-libs/ncurses-5 + X? ( || ( x11-libs/libX11 virtual/x11 ) )" +DEPEND="${RDEPEND} + X? ( || ( x11-libs/libXt virtual/x11 ) )" src_unpack() { unpack ${A} cd "${S}" + # Removing Xaw dependency as is not used + sed -i \ + -e '/Xaw/d' src/main-xaw.c \ + || die "sed main-xaw failed" sed -i \ -e 's|root\.|root:|' lib/*/Makefile.in \ || die "sed Makefile.in failed" -- cgit v1.2.3-65-gdbad