openbsd-ports/audio/hydrogen/patches/patch-qt4_py
2011-07-20 15:30:32 +00:00

13 lines
567 B
Plaintext

$OpenBSD: patch-qt4_py,v 1.2 2011/07/20 15:30:32 sthen Exp $
--- qt4.py.orig Sat Aug 8 12:35:13 2009
+++ qt4.py Wed Jul 20 16:29:16 2011
@@ -444,7 +444,7 @@ def enable_modules(self, modules, debug=False, crossco
try : self.AppendUnique(CPPDEFINES=moduleDefines[module])
except: pass
debugSuffix = ''
- if sys.platform == "linux2" and not crosscompiling :
+ if sys.platform == "linux2" or sys.platform.find('openbsd') != -1 and not crosscompiling :
if debug : debugSuffix = '_debug'
for module in modules :
if module not in pclessModules : continue