summaryrefslogtreecommitdiff
path: root/debian/patches/debian.patch
blob: 96f05a75b943846d54eb9382dba5692c639144ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Last-Update: 2013-08-04
Forwarded: not-needed
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: set prefix and path to game data file

--- a/SConstruct
+++ b/SConstruct
@@ -3521,7 +3521,7 @@ class DXXCommon(LazyObjectConstructor):
 		RPI_DEFAULT_VC_PATH='/opt/vc'
 		default_OGLES_LIB = 'GLES_CM'
 		default_EGL_LIB = 'EGL'
-		_default_prefix = '/usr/local'
+		_default_prefix = '/usr'
 		__stdout_is_not_a_tty = None
 		__has_git_dir = None
 		def default_poison(self):
@@ -5039,7 +5039,7 @@ class DXXProgram(DXXCommon):
 		@property
 		def BIN_DIR(self):
 			# installation path
-			return f'{self.prefix}/bin'
+			return f'{self.prefix}/games'
 	# Settings to apply to mingw32 builds
 	class Win32PlatformSettings(DXXCommon.Win32PlatformSettings):
 		def adjust_environment(self,program,env):
bgstack15