summary refs log tree commit diff
path: root/pkgs/applications/audio/hydrogen/scons-env.patch
blob: ebc17f67872fb1a160acdc06f63d54a276acedc7 (plain) (blame)
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
26
27
28
--- hydrogen-0.9.5/Sconstruct	2011-03-15 13:22:35.000000000 +0100
+++ hydrogen-0.9.5/Sconstruct	2011-04-17 16:06:54.000000000 +0200
@@ -178,7 +178,7 @@
 
 	includes.append( "libs/hydrogen/include" )
 	
-	env = Environment( options = opts ) 
+	env = Environment( options = opts, ENV = os.environ ) 
 
 
 	#location of qt4.py
@@ -298,7 +298,6 @@
 
         for N in glob.glob('./data/i18n/hydrogen.*'):
             env.Alias(target="install", source=env.Install(dir= env['DESTDIR'] + env['prefix'] + '/share/hydrogen/data/i18n', source=N))
-	env.Alias(target="install", source=env.Install(dir= env['DESTDIR'] + env['prefix'] + '/share/hydrogen/data', source="./data/img"))
 
 	#add every img in ./data/img to the install list. 
 	os.path.walk("./data/img/",install_images,env) 
@@ -379,7 +379,7 @@
 
 includes, a , b = get_platform_flags( opts )
 
-env = Environment(options = opts, CPPPATH = includes)
+env = Environment(options = opts, ENV = os.environ)
 
 
 Help(opts.GenerateHelpText(env))