Package: swift-im
Version: 2.0+dev62
Tags: patch

As it can be seen in the buildlogs, swift-im does not build on kfreebsd.

One problem is that the scons buildsystem does not know about the
debkfreebsd9 platform.

The attached patch changes the buildscripts to treat debian/kfreebsd in
the same way as linux.

Kind regards,
Yves




Description: Detect debian/kfreebsd as linux in buildscripts
Forwarded: not-needed
Origin: vendor
Author: Yves Fischer <yvesf+deb...@xapek.org>

Index: swift-im-2.0+dev6/BuildTools/SCons/Tools/qt4.py
===================================================================
--- swift-im-2.0+dev6.orig/BuildTools/SCons/Tools/qt4.py
+++ swift-im-2.0+dev6/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("gnukfreebsd") or sys.platform.startswith("linux")) and not crosscompiling :
        if debug : debugSuffix = '_debug'
        self.AppendUnique(CPPPATH=[os.path.join("$QTDIR","include", "phonon")])
        for module in modules :


Reply via email to