diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2008-12-06 16:13:36 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2008-12-06 16:13:36 +0000 |
commit | 8d9522139a0f2465405d5e4cac907ba86a19efd9 (patch) | |
tree | f1fb184a25ed07045799f0e165f19d4d78289faf /games-puzzle | |
parent | Stable on x86/amd64 (diff) | |
download | gentoo-2-8d9522139a0f2465405d5e4cac907ba86a19efd9.tar.gz gentoo-2-8d9522139a0f2465405d5e4cac907ba86a19efd9.tar.bz2 gentoo-2-8d9522139a0f2465405d5e4cac907ba86a19efd9.zip |
Respect CC and LDFLAGS, bug #244098
(Portage version: 2.2_rc17/cvs/Linux 2.6.27.7 i686)
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/greedy/ChangeLog | 7 | ||||
-rw-r--r-- | games-puzzle/greedy/greedy-0.2.0-r1.ebuild | 12 |
2 files changed, 14 insertions, 5 deletions
diff --git a/games-puzzle/greedy/ChangeLog b/games-puzzle/greedy/ChangeLog index 2ecdc382a489..72e6b02079c5 100644 --- a/games-puzzle/greedy/ChangeLog +++ b/games-puzzle/greedy/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-puzzle/greedy -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/greedy/ChangeLog,v 1.7 2007/02/22 01:11:30 peper Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/greedy/ChangeLog,v 1.8 2008/12/06 16:13:36 nyhm Exp $ + + 06 Dec 2008; Tristan Heaven <nyhm@gentoo.org> greedy-0.2.0-r1.ebuild: + Respect CC and LDFLAGS, bug #244098 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: Transition to Manifest2. diff --git a/games-puzzle/greedy/greedy-0.2.0-r1.ebuild b/games-puzzle/greedy/greedy-0.2.0-r1.ebuild index 2dadaebd94d4..c1c6b94405e9 100644 --- a/games-puzzle/greedy/greedy-0.2.0-r1.ebuild +++ b/games-puzzle/greedy/greedy-0.2.0-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/greedy/greedy-0.2.0-r1.ebuild,v 1.8 2008/05/15 13:03:38 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/greedy/greedy-0.2.0-r1.ebuild,v 1.9 2008/12/06 16:13:36 nyhm Exp $ -inherit games +inherit toolchain-funcs games DESCRIPTION="fun little ncurses puzzle game" HOMEPAGE="http://www.kotinet.com/juhamattin/linux/index.html" @@ -15,8 +15,14 @@ IUSE="" DEPEND="sys-libs/ncurses" +src_unpack() { + unpack ${A} + cd "${S}" + rm -f Makefile +} + src_compile() { - emake FLAGS="${CFLAGS}" STRIP=ls || die "emake failed" + emake CC="$(tc-getCC)" LDLIBS=-lncurses ${PN} || die "emake failed" } src_install() { |