diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-05-03 07:09:30 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-05-03 07:09:30 +0000 |
commit | 8d1f86ef965c94f73c70a58ef6e7d3a4a31ab360 (patch) | |
tree | 1533712c0b5164992303763687719883f028ddce /games-strategy/attal | |
parent | Version bumped. (diff) | |
download | gentoo-2-8d1f86ef965c94f73c70a58ef6e7d3a4a31ab360.tar.gz gentoo-2-8d1f86ef965c94f73c70a58ef6e7d3a4a31ab360.tar.bz2 gentoo-2-8d1f86ef965c94f73c70a58ef6e7d3a4a31ab360.zip |
EAPI=2; work around parallel-make bugs without -j1
(Portage version: 2.1.6.11/cvs/Linux i686)
Diffstat (limited to 'games-strategy/attal')
-rw-r--r-- | games-strategy/attal/ChangeLog | 7 | ||||
-rw-r--r-- | games-strategy/attal/attal-0.10.1.ebuild | 37 |
2 files changed, 24 insertions, 20 deletions
diff --git a/games-strategy/attal/ChangeLog b/games-strategy/attal/ChangeLog index 65a68190bead..82d5052a90d6 100644 --- a/games-strategy/attal/ChangeLog +++ b/games-strategy/attal/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-strategy/attal -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.24 2008/06/30 15:44:09 nyhm Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.25 2009/05/03 07:09:30 mr_bones_ Exp $ + + 03 May 2009; Michael Sterrett <mr_bones_@gentoo.org> attal-0.10.1.ebuild: + EAPI=2; work around parallel-make bugs without -j1 30 Jun 2008; Tristan Heaven <nyhm@gentoo.org> attal-0.10.1.ebuild: Add split qt-4 dependencies, bug #217170 diff --git a/games-strategy/attal/attal-0.10.1.ebuild b/games-strategy/attal/attal-0.10.1.ebuild index 2db490d1e369..72ca6aa73721 100644 --- a/games-strategy/attal/attal-0.10.1.ebuild +++ b/games-strategy/attal/attal-0.10.1.ebuild @@ -1,8 +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-strategy/attal/attal-0.10.1.ebuild,v 1.5 2008/06/30 15:44:09 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.10.1.ebuild,v 1.6 2009/05/03 07:09:30 mr_bones_ Exp $ -EAPI=1 +EAPI=2 inherit eutils qt4 games MY_P="${PN}-src-${PV}" @@ -16,23 +16,15 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" -DEPEND="|| ( - ( x11-libs/qt-gui:4 x11-libs/qt-qt3support:4 ) - x11-libs/qt:4 - ) +DEPEND="x11-libs/qt-gui:4 + x11-libs/qt-sql:4 + x11-libs/qt-qt3support:4 media-libs/libsdl - media-libs/sdl-mixer" + media-libs/sdl-mixer[vorbis]" S=${WORKDIR}/${MY_P} -pkg_setup() { - QT4_BUILT_WITH_USE_CHECK="qt3support" qt4_pkg_setup - games_pkg_setup -} - -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { mv ../themes . ecvs_clean epatch \ @@ -46,9 +38,18 @@ src_unpack() { || die "sed failed" } -src_compile() { +src_configure() { eqmake4 Makefile.pro - emake -j1 || die "emake failed" +} + +src_compile() { + local d + + for d in Common Client Fight Server + do + emake sub-lib$d || die "emake failed" + done + emake || die "emake failed" } src_install() { |