summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-simulation/fgrun')
-rw-r--r--games-simulation/fgrun/ChangeLog7
-rw-r--r--games-simulation/fgrun/fgrun-1.0.0.ebuild16
2 files changed, 11 insertions, 12 deletions
diff --git a/games-simulation/fgrun/ChangeLog b/games-simulation/fgrun/ChangeLog
index 2e42661557fa..47250bff4614 100644
--- a/games-simulation/fgrun/ChangeLog
+++ b/games-simulation/fgrun/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-simulation/fgrun
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/fgrun/ChangeLog,v 1.5 2008/11/14 18:46:00 coldwind Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/fgrun/ChangeLog,v 1.6 2009/01/13 02:09:58 mr_bones_ Exp $
+
+ 13 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> fgrun-1.0.0.ebuild:
+ EAPI=2; add use-based dep
14 Nov 2008; Santiago M. Mola <coldwind@gentoo.org> fgrun-1.0.0.ebuild:
Restrict fltk dependency to SLOT 1.1 (bug #246445).
diff --git a/games-simulation/fgrun/fgrun-1.0.0.ebuild b/games-simulation/fgrun/fgrun-1.0.0.ebuild
index 36e1628ee85b..ee5b691ccefd 100644
--- a/games-simulation/fgrun/fgrun-1.0.0.ebuild
+++ b/games-simulation/fgrun/fgrun-1.0.0.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/fgrun/fgrun-1.0.0.ebuild,v 1.3 2008/11/14 18:46:00 coldwind Exp $
-
-EAPI=1
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/fgrun/fgrun-1.0.0.ebuild,v 1.4 2009/01/13 02:09:58 mr_bones_ Exp $
+EAPI=2
inherit autotools eutils multilib games
DESCRIPTION="A graphical frontend for the FlightGear Flight Simulator"
@@ -16,24 +15,21 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-games/simgear
- x11-libs/fltk:1.1
+ x11-libs/fltk:1.1[opengl]
games-simulation/flightgear
x11-libs/libXi
x11-libs/libXmu"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}/${P}"-{fltk,gcc43}.patch
AT_M4DIR=. eautoreconf
}
-src_compile() {
+src_prepare() {
egamesconf \
--with-plib-libraries=/usr/$(get_libdir) \
--with-plib-includes=/usr/include \
|| die
- emake || die "emake failed"
}
src_install() {