summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-06-13 21:10:07 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-07-29 14:12:41 +0200
commit1eae8d3381330aa4625c0242c49024541203823a (patch)
tree4480c06cfd2bc5bf1c35ad68afbbdf4f1f773229 /src
parent5ff1926d8b57b6085566d79748e1007b2c9551a6 (diff)
downloadpytdeextensions-1eae8d3381330aa4625c0242c49024541203823a.tar.gz
pytdeextensions-1eae8d3381330aa4625c0242c49024541203823a.zip
Reverse an old Debian-specific patch that prevents building on
some 64-bit systems. Add text to help with basic debugging. (cherry picked from commit 32d597f993f2566f7bdfec8a29c916b4c9b1a803)
Diffstat (limited to 'src')
-rw-r--r--src/kdedistutils.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kdedistutils.py b/src/kdedistutils.py
index dae49d3..aeeef89 100644
--- a/src/kdedistutils.py
+++ b/src/kdedistutils.py
@@ -643,7 +643,7 @@ class BuildKControlModule(Command):
if self.clib!=None:
self.clib = glob.glob(os.path.join(self.clib,'libgcc*.a'))[0]
if self.clib is None:
- raise SystemExit, "Failed to find a suitable libgcc library"
+ raise SystemExit, "kdedistutils.py (1): Failed to find a suitable libgcc library"
self.announce("Using %s for clib" % self.clib)
# Make a list of places to look for python .so modules
@@ -1558,7 +1558,7 @@ class BuildKioslave(Command):
if self.clib!=None:
self.clib = glob.glob(os.path.join(self.clib,'libgcc*.a'))[0]
if self.clib is None:
- raise SystemExit, "Failed to find a suitable libgcc library"
+ raise SystemExit, "kdedistutils.py (2): Failed to find a suitable libgcc library"
self.announce("Using %s for clib" % self.clib)
# Make a list of places to look for python .so modules
@@ -2196,7 +2196,7 @@ def compile_qtdesigner(ui_files,
###########################################################################
def get_libdir_name():
- #if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']:
- # return 'lib64'
- #else:
+ if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']:
+ return 'lib64'
+ else:
return 'lib'