freebsd-ports/multimedia/dvbcut/files/patch-SConstruct
Stefan Eßer 92534c310f Since the upgrade to 0.5.4 included most of the contents of the latest
patches, they must be reverted to just those relevant contents as of
the time when the first version (0.5.3) was imported.
2007-05-01 15:04:18 +00:00

23 lines
525 B
Plaintext

--- SConstruct~ Sun Dec 11 12:07:09 2005
+++ SConstruct Thu Dec 29 00:19:48 2005
@@ -38,13 +38,17 @@
###### BUILD ENVIRONMENT
+opts.Add('CFLAGS','compiler flags', "-O3 -Wall")
+opts.Add('LDFLAGS','linker flags', "")
+
env=Environment(options=opts, ENV=os.environ)
debug=int(env['DEBUG'])
if (debug>0):
env.Append(CCFLAGS=['-g3','-Wall'])
-else:
- env.Append(CCFLAGS=['-O3','-Wall'])
+env.Append(CCFLAGS=Split(env["CFLAGS"]))
+
+env.Append(LINKFLAGS=Split(env["LDFLAGS"]))
env.Replace(CXXFILESUFFIX=".cpp")