summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-06-12 21:47:41 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-06-12 21:47:41 +0000
commitb171eb2de4eb565c23c5711d99b4c3dfa99cc78b (patch)
treea2a8ed1cf753f2ca9d6bb0a2413e645a4b29a1a4 /games-simulation/dangerdeep/files
parentAdd ~sparc-fbsd keyword. (diff)
downloadgentoo-2-b171eb2de4eb565c23c5711d99b4c3dfa99cc78b.tar.gz
gentoo-2-b171eb2de4eb565c23c5711d99b4c3dfa99cc78b.tar.bz2
gentoo-2-b171eb2de4eb565c23c5711d99b4c3dfa99cc78b.zip
Version bump
(Portage version: 2.1.2.9)
Diffstat (limited to 'games-simulation/dangerdeep/files')
-rw-r--r--games-simulation/dangerdeep/files/dangerdeep-0.3.0-build.patch37
-rw-r--r--games-simulation/dangerdeep/files/digest-dangerdeep-0.3.06
2 files changed, 43 insertions, 0 deletions
diff --git a/games-simulation/dangerdeep/files/dangerdeep-0.3.0-build.patch b/games-simulation/dangerdeep/files/dangerdeep-0.3.0-build.patch
new file mode 100644
index 000000000000..1f3c4a47ce6d
--- /dev/null
+++ b/games-simulation/dangerdeep/files/dangerdeep-0.3.0-build.patch
@@ -0,0 +1,37 @@
+--- SConstruct
++++ SConstruct
+@@ -119,6 +119,7 @@
+
+ else:
+ print "Compiling for Unix/Posix/Linux Environment"
++ SConsignFile()
+ env = Environment(ENV = os.environ)
+ env.Append(CPPPATH = ['/usr/include/SDL', '/usr/include/GL'])
+ libpath = ['/usr/X11R6/lib']
+@@ -126,13 +127,16 @@
+ sdllibs = ['SDL', 'SDL_image']
+ ccflags = '-Wall `sdl-config --cflags` `pkg-config --cflags x11`'
+ env.Append(LINKFLAGS = '`pkg-config --libs-only-L x11`')
++ if os.environ.has_key('CXXFLAGS'):
++ ccflags += os.environ['CXXFLAGS']
++ if os.environ.has_key('LDFLAGS'):
++ env.Append(LINKFLAGS = os.environ['LDFLAGS'])
+ if (debug >= 3):
+ ccflags += ' -g -pg -O3' # profiling
+ elif (debug == 2):
+ ccflags += ' -g -O0'
+ env.Append(CPPDEFINES = ['DEBUG'])
+ elif (debug == 1):
+- ccflags += ' -g -O1'
+ env.Append(CPPDEFINES = ['DEBUG'])
+ elif (debug == -1):
+ ccflags += ' -g -O3 -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow'
+@@ -140,8 +144,6 @@
+ ccflags += ' -g -O3 -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -ftree-vectorize -ftree-vectorizer-verbose=2'
+ elif (debug == -3): # special g++4.0+ auto vectorization
+ ccflags += ' -g -O3 -march=athlon64 -mfpmath=sse -mmmx -msse -msse2 -m3dnow -ftree-vectorize -ftree-vectorizer-verbose=2'
+- else:
+- ccflags += ' -g -O2' # debug symbols will be stripped by the linker for a debian package
+ # choose specific architecture if requested
+ if archflag != '':
+ ccflags += ' -march=' + archflag
diff --git a/games-simulation/dangerdeep/files/digest-dangerdeep-0.3.0 b/games-simulation/dangerdeep/files/digest-dangerdeep-0.3.0
new file mode 100644
index 000000000000..6e442980ff50
--- /dev/null
+++ b/games-simulation/dangerdeep/files/digest-dangerdeep-0.3.0
@@ -0,0 +1,6 @@
+MD5 8a1d19326a9a0bd8bb91a652bfa51bd9 dangerdeep-0.3.0.tar.gz 1100972
+RMD160 f4959c78592700542514b31beb5e641cc43e10a8 dangerdeep-0.3.0.tar.gz 1100972
+SHA256 bdab6b9b1c2b5f8e618f5c346965ec1f48c9edc9bff1d4f5ff7c8d235464283f dangerdeep-0.3.0.tar.gz 1100972
+MD5 b9a2f2ff756cd7715a3b58de7504c1d0 dangerdeep-data-0.3.0.zip 61914764
+RMD160 b37fc081824089db6eda3491288b83f4bd0f3dd7 dangerdeep-data-0.3.0.zip 61914764
+SHA256 00412a4f8f571a9291df48fa40fbbe846680b4fcb1de2f168539b1606cb4fb81 dangerdeep-data-0.3.0.zip 61914764