summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-10-19 05:29:36 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-10-19 05:29:36 +0000
commit61e59a371a6b742a1dc64f892e583011e9f40991 (patch)
treed4ca196851e5f8f25e80de35caa527ff2c8134a6 /games-action
parentDrop to ~mips (diff)
downloadgentoo-2-61e59a371a6b742a1dc64f892e583011e9f40991.tar.gz
gentoo-2-61e59a371a6b742a1dc64f892e583011e9f40991.tar.bz2
gentoo-2-61e59a371a6b742a1dc64f892e583011e9f40991.zip
EAPI=2; honor LDFLAGS (bug #341719)
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/nighthawk/ChangeLog7
-rw-r--r--games-action/nighthawk/nighthawk-2.2.ebuild14
2 files changed, 12 insertions, 9 deletions
diff --git a/games-action/nighthawk/ChangeLog b/games-action/nighthawk/ChangeLog
index fdb58739b48f..68f49227d90f 100644
--- a/games-action/nighthawk/ChangeLog
+++ b/games-action/nighthawk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-action/nighthawk
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/nighthawk/ChangeLog,v 1.14 2008/04/25 08:01:23 vapier Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/nighthawk/ChangeLog,v 1.15 2010/10/19 05:29:36 mr_bones_ Exp $
+
+ 19 Oct 2010; Michael Sterrett <mr_bones_@gentoo.org> nighthawk-2.2.ebuild:
+ EAPI=2; honor LDFLAGS (bug #341719)
25 Apr 2008; Mike Frysinger <vapier@gentoo.org> nighthawk-2.2.ebuild:
Fixup a slightly botched autoconf run #218936.
diff --git a/games-action/nighthawk/nighthawk-2.2.ebuild b/games-action/nighthawk/nighthawk-2.2.ebuild
index 8f5f551878f0..37c7c2631d24 100644
--- a/games-action/nighthawk/nighthawk-2.2.ebuild
+++ b/games-action/nighthawk/nighthawk-2.2.ebuild
@@ -1,7 +1,8 @@
-# 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/games-action/nighthawk/nighthawk-2.2.ebuild,v 1.13 2008/04/25 08:01:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/nighthawk/nighthawk-2.2.ebuild,v 1.14 2010/10/19 05:29:36 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="A tribute to Paradroid by Andrew Braybrook"
@@ -15,16 +16,15 @@ IUSE=""
DEPEND="x11-libs/libXpm"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch \
"${FILESDIR}"/nighthawk.patch \
"${FILESDIR}"/${P}-gcc42.patch
- sed -i 's:AC_FD_MSG:6:g' configure || die #218936
+ sed -i -e 's:AC_FD_MSG:6:g' configure || die #218936
+ sed -i -e '/LDFLAGS = /d' src/Makefile.in || die
}
src_install () {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake DESTDIR="${D}" install || die
prepgamesdirs
}