summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-09-03 19:28:12 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-09-03 19:28:12 +0000
commit552980b0529170f57627f037df6ff0423d11888f (patch)
tree17367182a72f70e5999fb1d75342d40496272a23 /games-arcade/jvgs
parentFix linking on Solaris with USE=nls (diff)
downloadgentoo-2-552980b0529170f57627f037df6ff0423d11888f.tar.gz
gentoo-2-552980b0529170f57627f037df6ff0423d11888f.tar.bz2
gentoo-2-552980b0529170f57627f037df6ff0423d11888f.zip
respect cflags wrt #430080
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'games-arcade/jvgs')
-rw-r--r--games-arcade/jvgs/ChangeLog8
-rw-r--r--games-arcade/jvgs/files/jvgs-0.5-flags.patch14
-rw-r--r--games-arcade/jvgs/jvgs-0.5.ebuild8
3 files changed, 26 insertions, 4 deletions
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 <hasufell@gentoo.org> jvgs-0.5.ebuild,
+ +files/jvgs-0.5-flags.patch:
+ respect cflags wrt #430080
07 Jul 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> 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 <hasufell@gentoo.org>
+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
}