diff options
-rw-r--r-- | dev-games/flinker/ChangeLog | 7 | ||||
-rw-r--r-- | dev-games/flinker/flinker-1.72.ebuild | 11 |
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() { |