diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-12-31 16:51:18 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-12-31 16:51:18 +0000 |
commit | 75e7c9a6b108f75e0ff72d9c8d62d5d8be9d5f5a (patch) | |
tree | 24503eb22f3199a98dbf0c7a7d710052dda72f6b /media-gfx/mypaint/files | |
parent | Replace patches (that should have been applied unconditionally anyway and do ... (diff) | |
download | gentoo-2-75e7c9a6b108f75e0ff72d9c8d62d5d8be9d5f5a.tar.gz gentoo-2-75e7c9a6b108f75e0ff72d9c8d62d5d8be9d5f5a.tar.bz2 gentoo-2-75e7c9a6b108f75e0ff72d9c8d62d5d8be9d5f5a.zip |
Ebuild moved from sunrise overlay. Thanks to Arne Babenhauserheide ,Mike Limansky and Mike Frysinger. Bug #197672
(Portage version: 2.1.9.26/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/mypaint/files')
-rw-r--r-- | media-gfx/mypaint/files/mypaint-0.9.0-gentoo.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/media-gfx/mypaint/files/mypaint-0.9.0-gentoo.patch b/media-gfx/mypaint/files/mypaint-0.9.0-gentoo.patch new file mode 100644 index 000000000000..329c8a981e6f --- /dev/null +++ b/media-gfx/mypaint/files/mypaint-0.9.0-gentoo.patch @@ -0,0 +1,26 @@ +Index: mypaint-0.9.0/SConstruct +=================================================================== +--- mypaint-0.9.0.orig/SConstruct ++++ mypaint-0.9.0/SConstruct +@@ -64,6 +64,21 @@ if env['debug']: + env.Append(CPPDEFINES='HEAVY_DEBUG') + env.Append(CCFLAGS='-O0', LINKFLAGS='-O0') + ++# Respect cxxflags,ldflags and cxx ++# Code found on ++# http://http://dev.gentoo.org/~vapier/scons-blows.txt ++import SCons.Util ++if os.environ.has_key('CC'): ++ env['CC'] = os.environ['CC'] ++if os.environ.has_key('CFLAGS'): ++ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS']) ++if os.environ.has_key('CXX'): ++ env['CXX'] = os.environ['CXX'] ++if os.environ.has_key('CXXFLAGS'): ++ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS']) ++if os.environ.has_key('LDFLAGS'): ++ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) ++ + Export('env') + module = SConscript('lib/SConscript') + SConscript('brushlib/SConscript') |