From dfd2e6bc14aeeb776a4390880da4eb9e188bd9d5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 10 May 2004 17:52:51 +0000 Subject: dont use $CC --- games-kids/gtans/gtans-1.2.ebuild | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'games-kids') diff --git a/games-kids/gtans/gtans-1.2.ebuild b/games-kids/gtans/gtans-1.2.ebuild index 04f58c6e5bca..dc8f01b5e5de 100644 --- a/games-kids/gtans/gtans-1.2.ebuild +++ b/games-kids/gtans/gtans-1.2.ebuild @@ -1,16 +1,16 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gtans/gtans-1.2.ebuild,v 1.3 2004/05/10 02:28:01 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/gtans/gtans-1.2.ebuild,v 1.4 2004/05/10 17:50:38 vapier Exp $ -inherit games +inherit games gcc -DESCRIPTION="The Tangram is a chinese puzzle. The object is to put seven geometric shapes together so as to form a given outline." +DESCRIPTION="The Tangram is a chinese puzzle of shapes" HOMEPAGE="http://gtans.sourceforge.net/" -SRC_URI="http://download.sourceforge.net/gtans/${P}.tar.gz" +SRC_URI="mirror://sourceforge/gtans/${P}.tar.gz" -KEYWORDS="x86 amd64" LICENSE="GPL-2" SLOT="0" +KEYWORDS="x86 amd64" IUSE="nls" RDEPEND="virtual/x11 @@ -27,19 +27,19 @@ src_unpack() { if ! use nls ; then sed -i \ -e "/\(TGTXT\| po\)/ s/^/#/" \ - -e "/^CC/ s:=.*:= ${CC}:" \ + -e "/^CC/ s:=.*:= $(gcc-getCC):" \ -e "/misc/ s/PREFIX.*/install/" \ -e "/^CFLG[ ]*=/ s:=.*:= ${CFLAGS}:" makefile \ - || die "sed makefile failed" + || die "sed makefile failed" fi sed -i \ -e "s:/share::" \ -e "/^PREFIX/ s:usr:usr/share:" misc/Makefile \ - || die "sed misc/Makefile failed" + || die "sed misc/Makefile failed" } src_install() { - make DESTDIR="${D}" install || die "make install failed" - dodoc AUTHORS HISTORY || die "dodoc failed" + make DESTDIR=${D} install || die "make install failed" + dodoc AUTHORS HISTORY prepgamesdirs } -- cgit v1.2.3-65-gdbad