SCons & Pkgsrc

Chris Turner c.turner at 199technologies.org
Sun Oct 24 01:36:03 PDT 2010


Kludging around in my local tree -

Anyone with knowledge of SCons -
or perhaps scons+pkgsrc - have any ideas why the below might
be required?
otherwise it expands to

cc <...> -W a l l <...>

other flags appeared ok - hence ellipsed

in any event - it fixes the csound build on my Q1 branch
haven't tested the program, but anyhow ..
probably not worth a submit to pkgsrc and or upstream until I figgure
it out..
I'm on py 2.4, if that matters..

Cheers!

- Chris

# cat local-patch
--- /usr/pkgsrc/audio/csound5/work/Csound5.01/SConstruct.orig 
2010-10-24 08:24:28 +0000
+++ /usr/pkgsrc/audio/csound5/work/Csound5.01/SConstruct 
2010-10-24 08:26:31 +0000
@@ -284,8 +284,8 @@

 # Define different build environments for different types of targets.

-if commonEnvironment['MSVC'] == '0':
-    commonEnvironment.Prepend(CCFLAGS = "-Wall")
+#if commonEnvironment['MSVC'] == '0':
+#     commonEnvironment.Prepend(CCFLAGS = "-Wall")
 if getPlatform() == 'linux':
     commonEnvironment.Append(CCF




More information about the Users mailing list