From 552980b0529170f57627f037df6ff0423d11888f Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 3 Sep 2012 19:28:12 +0000 Subject: respect cflags wrt #430080 (Portage version: 2.1.11.9/cvs/Linux x86_64) --- games-arcade/jvgs/ChangeLog | 8 ++++++-- games-arcade/jvgs/files/jvgs-0.5-flags.patch | 14 ++++++++++++++ games-arcade/jvgs/jvgs-0.5.ebuild | 8 ++++++-- 3 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 games-arcade/jvgs/files/jvgs-0.5-flags.patch (limited to 'games-arcade') diff --git a/games-arcade/jvgs/ChangeLog b/games-arcade/jvgs/ChangeLog index 5040db3d719c..a077a0aad6fa 100644 --- a/games-arcade/jvgs/ChangeLog +++ b/games-arcade/jvgs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/jvgs -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/jvgs/ChangeLog,v 1.3 2010/07/07 14:42:48 phajdan.jr Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/jvgs/ChangeLog,v 1.4 2012/09/03 19:28:12 hasufell Exp $ + + 03 Sep 2012; Julian Ospald jvgs-0.5.ebuild, + +files/jvgs-0.5-flags.patch: + respect cflags wrt #430080 07 Jul 2010; Pawel Hajdan jr jvgs-0.5.ebuild: x86 stable wrt bug #315909 diff --git a/games-arcade/jvgs/files/jvgs-0.5-flags.patch b/games-arcade/jvgs/files/jvgs-0.5-flags.patch new file mode 100644 index 000000000000..04f88b88bc6d --- /dev/null +++ b/games-arcade/jvgs/files/jvgs-0.5-flags.patch @@ -0,0 +1,14 @@ +From: Julian Ospald +Date: Sun Aug 5 19:57:32 UTC 2012 +Subject: build system + +respect cxxflags + +--- src/CMakeLists.txt ++++ src/CMakeLists.txt +@@ -1,4 +1,4 @@ +-SET( CMAKE_CXX_FLAGS "-DTIXML_USE_STL -ggdb" ) ++SET( CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -DTIXML_USE_STL" ) + + INCLUDE_DIRECTORIES( + ${SDL_INCLUDE_DIR} diff --git a/games-arcade/jvgs/jvgs-0.5.ebuild b/games-arcade/jvgs/jvgs-0.5.ebuild index cfc81a2500a1..be2cfdc110a0 100644 --- a/games-arcade/jvgs/jvgs-0.5.ebuild +++ b/games-arcade/jvgs/jvgs-0.5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/jvgs/jvgs-0.5.ebuild,v 1.3 2010/07/07 14:42:48 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/jvgs/jvgs-0.5.ebuild,v 1.4 2012/09/03 19:28:12 hasufell Exp $ EAPI=2 CMAKE_IN_SOURCE_BUILD=1 @@ -26,6 +26,10 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${P}-src +src_prepare() { + epatch "${FILESDIR}"/${P}-flags.patch +} + src_configure() { cmake-utils_src_configure } -- cgit v1.2.3-65-gdbad