diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-02-11 08:38:48 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-02-11 08:38:48 +0000 |
commit | 5a500d9063c6ee00f952e9bcec9c78de31bc9ccd (patch) | |
tree | b8c3af7f045e8a28c8c869dfaa64115179661278 /dev-games | |
parent | portage only patch (diff) | |
download | gentoo-2-5a500d9063c6ee00f952e9bcec9c78de31bc9ccd.tar.gz gentoo-2-5a500d9063c6ee00f952e9bcec9c78de31bc9ccd.tar.bz2 gentoo-2-5a500d9063c6ee00f952e9bcec9c78de31bc9ccd.zip |
EAPI=2; make it work with newer devil
(Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/cegui/ChangeLog | 7 | ||||
-rw-r--r-- | dev-games/cegui/cegui-0.6.2b.ebuild | 21 |
2 files changed, 16 insertions, 12 deletions
diff --git a/dev-games/cegui/ChangeLog b/dev-games/cegui/ChangeLog index a196291ee71d..006e64273601 100644 --- a/dev-games/cegui/ChangeLog +++ b/dev-games/cegui/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-games/cegui -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v 1.22 2008/12/11 00:49:29 nyhm Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v 1.23 2009/02/11 08:38:48 mr_bones_ Exp $ + + 11 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org> cegui-0.6.2b.ebuild: + EAPI=2; make it work with newer devil *cegui-0.6.2b (11 Dec 2008) diff --git a/dev-games/cegui/cegui-0.6.2b.ebuild b/dev-games/cegui/cegui-0.6.2b.ebuild index 12ea727934ea..3c2a2dfb97cb 100644 --- a/dev-games/cegui/cegui-0.6.2b.ebuild +++ b/dev-games/cegui/cegui-0.6.2b.ebuild @@ -1,7 +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/dev-games/cegui/cegui-0.6.2b.ebuild,v 1.1 2008/12/11 00:49:29 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/cegui-0.6.2b.ebuild,v 1.2 2009/02/11 08:38:48 mr_bones_ Exp $ +EAPI=2 inherit autotools eutils MY_P=CEGUI-${PV%b} @@ -16,7 +17,7 @@ KEYWORDS="~amd64 ~ppc ~x86" IUSE="debug devil directfb doc examples expat freeimage irrlicht lua opengl xerces-c xml" RDEPEND="dev-libs/libpcre - =media-libs/freetype-2* + media-libs/freetype:2 devil? ( media-libs/devil ) directfb? ( dev-libs/DirectFB ) expat? ( dev-libs/expat ) @@ -39,10 +40,12 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${MY_P} -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}"/${P}-gcc43.patch + sed -i \ + -e 's/ILvoid/void/g' \ + ImageCodecModules/DevILImageCodec/CEGUIDevILImageCodec.cpp \ + || die "sed failed" if use examples ; then cp -r Samples Samples.clean rm -f $(find Samples.clean -name 'Makefile*') @@ -51,7 +54,7 @@ src_unpack() { eautoreconf #220040 } -src_compile() { +src_configure() { econf \ $(use_enable debug) \ $(use_enable devil) \ @@ -76,9 +79,7 @@ src_compile() { --disable-samples \ --disable-silly \ --without-gtk2 \ - --without-ogre-renderer \ - || die - emake || die "emake failed" + --without-ogre-renderer } src_install() { |