[swift-users] NetBSD patches for swift-2.0

Thomas Klausner tk at giga.or.at
Fri Jan 17 13:07:47 CET 2014


Hi Remko!

> http://swift.im/git/swift/commit/?h=swift-2.x&id=e4a3c018fe824c0c402dbc3167a113276fbe6e4e

Thanks, that works for me as well.
Now only one patch is left.

Another question: I have a lot of (repeated) warnings during the
build. Are you interested in seeing these?

The build finishes though.

Thank for your help,
 Thomas
-------------- next part --------------
$NetBSD$

Handle NetBSD like Linux.

--- BuildTools/SCons/Tools/qt4.py.orig	2012-12-22 12:23:58.000000000 +0000
+++ BuildTools/SCons/Tools/qt4.py
@@ -448,7 +448,7 @@ def enable_modules(self, modules, debug=
 		except: pass
 	debugSuffix = ''
 
-	if sys.platform.startswith("linux") and not crosscompiling :
+	if (sys.platform.startswith("linux") or sys.platform.startswith("netbsd")) and not crosscompiling :
 		if debug : debugSuffix = '_debug'
 		self.AppendUnique(CPPPATH=[os.path.join("$QTDIR","include", "phonon")])
 		for module in modules :


More information about the swift-users mailing list