Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mac fixes for scons build
07-13-2007, 11:13 PM,
#8
 
The install target flat-out hangs on my mac, but I think I know the cause of the problem that you are seeing. Since I can't test, can you verify this patch
Code:
Index: src/SConscript
===================================================================
--- src/SConscript      (revision 1767)
+++ src/SConscript      (working copy)
@@ -1,5 +1,6 @@
import os, sys

+
#-------------#
# Import Vars #
#-------------#
@@ -118,16 +119,16 @@
#--------------------#
# Compile Executable #
#--------------------#
-vdrift = Alias('vdrift',
-    local_env.Program(target='%s$EXECUTABLE_NAME' % appdir,
-        source=[src, vamosobjs, guiobjs])
+vdrift_prog= local_env.Program(target='%s$EXECUTABLE_NAME' % appdir,
+        source=[src, vamosobjs, guiobjs]
+vdrift = Alias('vdrift', vdrift_prog)
) # just in case
Default(vdrift)

#---------#
# Install #
#---------#
-install = env.Install(Dir(env.subst("$destdir$prefix/$bindir")), vdrift)
+install = env.Install(Dir(env.subst("$destdir$prefix/$bindir")), vdrift_prog )
env.Alias("install", install)

#---------------#
It doesn't make sense for me, but I'll worry about that later.

try to apply the patch with
Code:
patch -p0 < patchfile
from the root of your working copy. if that doesn't work, I'll have to ask you to apply it by hand.

Thanks.
Reply


Messages In This Thread
Mac fixes for scons build - by bugsyv - 07-12-2007, 02:18 PM
Re: Mac fixes for scons build - by abs1nth - 07-12-2007, 05:30 PM
[No subject] - by thelusiv - 07-13-2007, 01:22 AM
[No subject] - by bugsyv - 07-13-2007, 05:51 AM
[No subject] - by bugsyv - 07-13-2007, 04:14 PM
[No subject] - by alex25 - 07-13-2007, 06:18 PM
[No subject] - by bugsyv - 07-13-2007, 09:32 PM
[No subject] - by bugsyv - 07-13-2007, 11:13 PM
[No subject] - by alex25 - 07-14-2007, 12:18 AM
[No subject] - by bugsyv - 07-14-2007, 12:34 AM
[No subject] - by alex25 - 07-14-2007, 12:41 PM
[No subject] - by bugsyv - 07-14-2007, 03:21 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)