summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-02-16 03:02:14 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-02-16 03:02:14 +0000
commit8c8adb47a77a313f042d8fbaf01f63738a1e41cf (patch)
treeb00ef710f6a75044c22191124b4708979182e1c8 /games-arcade/gnake
parentUpdate the mask for driftnet, and add comment (diff)
downloadgentoo-2-8c8adb47a77a313f042d8fbaf01f63738a1e41cf.tar.gz
gentoo-2-8c8adb47a77a313f042d8fbaf01f63738a1e41cf.tar.bz2
gentoo-2-8c8adb47a77a313f042d8fbaf01f63738a1e41cf.zip
Respect LDFLAGS
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-arcade/gnake')
-rw-r--r--games-arcade/gnake/ChangeLog7
-rw-r--r--games-arcade/gnake/gnake-0.94b.ebuild12
2 files changed, 9 insertions, 10 deletions
diff --git a/games-arcade/gnake/ChangeLog b/games-arcade/gnake/ChangeLog
index 04424012ba98..a85d6eddfb9a 100644
--- a/games-arcade/gnake/ChangeLog
+++ b/games-arcade/gnake/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-arcade/gnake
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/gnake/ChangeLog,v 1.4 2007/04/24 14:41:47 drizzt Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/gnake/ChangeLog,v 1.5 2008/02/16 03:02:14 nyhm Exp $
+
+ 16 Feb 2008; Tristan Heaven <nyhm@gentoo.org> gnake-0.94b.ebuild:
+ Respect LDFLAGS
24 Apr 2007; Timothy Redaelli <drizzt@gentoo.org> gnake-0.94b.ebuild:
Add ~x86-fbsd keyword.
diff --git a/games-arcade/gnake/gnake-0.94b.ebuild b/games-arcade/gnake/gnake-0.94b.ebuild
index 1718625d35e4..ac01d127be63 100644
--- a/games-arcade/gnake/gnake-0.94b.ebuild
+++ b/games-arcade/gnake/gnake-0.94b.ebuild
@@ -1,15 +1,12 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/gnake/gnake-0.94b.ebuild,v 1.3 2007/04/24 14:41:47 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/gnake/gnake-0.94b.ebuild,v 1.4 2008/02/16 03:02:14 nyhm Exp $
inherit toolchain-funcs games
-MY_PN="Gnake"
-MY_P=${MY_PN}.${PV}
-
DESCRIPTION="An ncurses-based Nibbles clone"
HOMEPAGE="http://lightless.org/gnake"
-SRC_URI="http://lightless.org/files/${MY_P}.tar.gz"
+SRC_URI="http://lightless.org/files/Gnake.${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -21,8 +18,7 @@ DEPEND="sys-libs/ncurses"
S=${WORKDIR}/${PN}
src_compile() {
- LDFLAGS="-lncurses"
- $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o gnake gnake.c
+ emake CC="$(tc-getCC)" LDLIBS=-lncurses gnake || die "emake failed"
}
src_install() {