summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-04 00:59:17 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-04 00:59:17 +0000
commit97a0dca294d8e9d7ccf9f8339e5ae4cc7f1c1b4d (patch)
tree34afd4986bdbdf7a01145546d58bb0bd9b4b9ca0 /games-arcade/xboing/xboing-2.4-r1.ebuild
parent- new paxctl release. new version includes ability to reuse/rename existing u... (diff)
downloadgentoo-2-97a0dca294d8e9d7ccf9f8339e5ae4cc7f1c1b4d.tar.gz
gentoo-2-97a0dca294d8e9d7ccf9f8339e5ae4cc7f1c1b4d.tar.bz2
gentoo-2-97a0dca294d8e9d7ccf9f8339e5ae4cc7f1c1b4d.zip
fix building even without /usr/X11R6
(Portage version: 2.0.51.21)
Diffstat (limited to 'games-arcade/xboing/xboing-2.4-r1.ebuild')
-rw-r--r--games-arcade/xboing/xboing-2.4-r1.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/games-arcade/xboing/xboing-2.4-r1.ebuild b/games-arcade/xboing/xboing-2.4-r1.ebuild
index 3cf4e024386c..f063b1107702 100644
--- a/games-arcade/xboing/xboing-2.4-r1.ebuild
+++ b/games-arcade/xboing/xboing-2.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/xboing/xboing-2.4-r1.ebuild,v 1.6 2005/05/03 09:47:35 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xboing/xboing-2.4-r1.ebuild,v 1.7 2005/05/04 00:59:17 vapier Exp $
inherit games eutils
@@ -11,7 +11,7 @@ SRC_URI="http://www.techrescue.org/xboing/${PN}${PV}.tar.gz
LICENSE="xboing"
SLOT="0"
-KEYWORDS="x86 sparc ~ppc"
+KEYWORDS="ppc sparc x86"
IUSE=""
DEPEND="virtual/x11"
@@ -20,8 +20,9 @@ S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${WORKDIR}/xboing-${PV}-debian.patch
+ cd "${S}"
+ epatch "${WORKDIR}"/xboing-${PV}-debian.patch
+ sed -i '/^#include/s:xpm\.h:X11/xpm.h:' *.c
}
src_compile() {