--- qt4.py.orig	2012-01-21 04:06:58.000000000 -0800
+++ qt4.py	2012-11-13 02:59:06.000000000 -0800
@@ -444,7 +444,7 @@
 		try : self.AppendUnique(CPPDEFINES=moduleDefines[module])
 		except: pass
 	debugSuffix = ''
-	if sys.platform.startswith("linux") and not crosscompiling :
+	if (sys.platform.startswith("linux") and not crosscompiling) or (sys.platform.startswith("netbsd") and not crosscompiling):
 		if debug : debugSuffix = '_debug'
 		for module in modules :
 			if module not in pclessModules : continue
