summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-31 15:08:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-31 15:08:05 -0600
commit19da6add9230cf08178d407d13a9d6bbc281b1f3 (patch)
tree0e7312bd2dd0f3b55b0eac80b78397c01807f3c2 /src
parent0b5913c7d61e7ac1cd839220097e6dbfcbb14f2d (diff)
downloadpytdeextensions-19da6add9230cf08178d407d13a9d6bbc281b1f3.tar.gz
pytdeextensions-19da6add9230cf08178d407d13a9d6bbc281b1f3.zip
Fix FTBFS in tde-guidance
Diffstat (limited to 'src')
-rw-r--r--src/kdedistutils.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/kdedistutils.py b/src/kdedistutils.py
index 908a130..03e6b9f 100644
--- a/src/kdedistutils.py
+++ b/src/kdedistutils.py
@@ -585,6 +585,19 @@ class BuildKControlModule(Command):
# Qt lib dir
if self.qt_lib_dir is None:
canidatepaths = []
+ qtdir = os.getenv("TQTDIR")
+ if qtdir != None:
+ canidatepaths.append(os.path.join(qtdir,get_libdir_name()))
+ canidatepaths.append(os.path.join(install.prefix,"lib/tqt3/"+get_libdir_name()))
+ canidatepaths.append(os.path.join(install.prefix,"lib/tqt3/"+get_libdir_name()))
+ canidatepaths.append(os.path.join(install.prefix,get_libdir_name()))
+ canidatepaths.append("/opt/tqt3/"+get_libdir_name())
+ canidatepaths.append("/opt/tqt/"+get_libdir_name())
+ canidatepaths.append("/opt/tqt/lib/"+get_libdir_name())
+ canidatepaths.append("/opt/tqt3/lib/"+get_libdir_name())
+ self.qt_lib_dir = FindFileInPaths('libtqt*',canidatepaths)
+ if self.qt_lib_dir is None:
+ canidatepaths = []
qtdir = os.getenv("QTDIR")
if qtdir != None:
canidatepaths.append(os.path.join(qtdir,get_libdir_name()))
@@ -1513,6 +1526,19 @@ class BuildKioslave(Command):
# Qt lib dir
if self.qt_lib_dir is None:
canidatepaths = []
+ qtdir = os.getenv("TQTDIR")
+ if qtdir != None:
+ canidatepaths.append(os.path.join(qtdir,get_libdir_name()))
+ canidatepaths.append(os.path.join(install.prefix,"lib/tqt3/"+get_libdir_name()))
+ canidatepaths.append(os.path.join(install.prefix,"lib/tqt3/"+get_libdir_name()))
+ canidatepaths.append(os.path.join(install.prefix,get_libdir_name()))
+ canidatepaths.append("/opt/tqt3/"+get_libdir_name())
+ canidatepaths.append("/opt/tqt/"+get_libdir_name())
+ canidatepaths.append("/opt/tqt/lib/"+get_libdir_name())
+ canidatepaths.append("/opt/tqt3/lib/"+get_libdir_name())
+ self.qt_lib_dir = FindFileInPaths('libtqt*',canidatepaths)
+ if self.qt_lib_dir is None:
+ canidatepaths = []
qtdir = os.getenv("QTDIR")
if qtdir != None:
canidatepaths.append(os.path.join(qtdir,get_libdir_name()))