summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-08-31 10:37:36 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-08-31 10:37:36 +0000
commit36fc9f9a7b689e4b218884899e4b6d481b5289aa (patch)
treee75e6c69dcf753115eeb015241f959a0b56e05bf /dev-games/flinker
parentHonour LDFLAGS. Closes bug #334639. (diff)
downloadgentoo-2-36fc9f9a7b689e4b218884899e4b6d481b5289aa.tar.gz
gentoo-2-36fc9f9a7b689e4b218884899e4b6d481b5289aa.tar.bz2
gentoo-2-36fc9f9a7b689e4b218884899e4b6d481b5289aa.zip
Respect LDFLAGS. Bug #335276
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-games/flinker')
-rw-r--r--dev-games/flinker/ChangeLog7
-rw-r--r--dev-games/flinker/flinker-1.72.ebuild11
2 files changed, 10 insertions, 8 deletions
diff --git a/dev-games/flinker/ChangeLog b/dev-games/flinker/ChangeLog
index d0ef79bbd2d3..d777d939602f 100644
--- a/dev-games/flinker/ChangeLog
+++ b/dev-games/flinker/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-games/flinker
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/flinker/ChangeLog,v 1.6 2008/04/08 06:08:03 mr_bones_ Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/flinker/ChangeLog,v 1.7 2010/08/31 10:37:36 tupone Exp $
+
+ 31 Aug 2010; Alfredo Tupone <tupone@gentoo.org> flinker-1.72.ebuild:
+ Respect LDFLAGS. Bug #335276 by flameeyes@gentoo.org
08 Apr 2008; Michael Sterrett <mr_bones_@gentoo.org> flinker-1.72.ebuild:
fix compile with newer linux-headers (bug #215918)
diff --git a/dev-games/flinker/flinker-1.72.ebuild b/dev-games/flinker/flinker-1.72.ebuild
index fd469a752eab..14304a2e0573 100644
--- a/dev-games/flinker/flinker-1.72.ebuild
+++ b/dev-games/flinker/flinker-1.72.ebuild
@@ -1,6 +1,7 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/flinker/flinker-1.72.ebuild,v 1.6 2008/04/08 06:08:03 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/flinker/flinker-1.72.ebuild,v 1.7 2010/08/31 10:37:36 tupone Exp $
+EAPI="2"
inherit toolchain-funcs
@@ -18,9 +19,7 @@ DEPEND="app-arch/unzip"
S=${WORKDIR}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed -i \
-e '/unistd/s:^//::' \
-e 's:asm/io.h:sys/io.h:' \
@@ -30,7 +29,7 @@ src_unpack() {
echo >> cartlib.c
}
src_compile() {
- $(tc-getCC) -o FLinker ${CFLAGS} fl.c || die
+ $(tc-getCC) ${LDFLAGS} -o FLinker ${CFLAGS} fl.c || die
}
src_install() {