DragonFly BSD
DragonFly users List (threaded) for 2010-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

SCons & Pkgsrc


From: Chris Turner <c.turner@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 24 Oct 2010 03:31:39 -0500


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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]