20 lines
737 B
Plaintext
20 lines
737 B
Plaintext
$OpenBSD: patch-intern_ghost_SConscript,v 1.4 2011/07/20 12:56:54 sthen Exp $
|
|
--- intern/ghost/SConscript.orig Tue Sep 1 16:20:28 2009
|
|
+++ intern/ghost/SConscript Wed Jul 20 13:36:54 2011
|
|
@@ -5,12 +5,14 @@ import os
|
|
Import ('env')
|
|
|
|
window_system = env['OURPLATFORM']
|
|
+if window_system.find('openbsd') != -1:
|
|
+ window_system = 'openbsd'
|
|
|
|
sources = env.Glob('intern/*.cpp')
|
|
|
|
pf = ['GHOST_DisplayManager', 'GHOST_System', 'GHOST_Window']
|
|
|
|
-if window_system in ('linux2', 'openbsd3', 'sunos5', 'freebsd6', 'irix6'):
|
|
+if window_system in ('linux2', 'openbsd', 'sunos5', 'freebsd6', 'irix6'):
|
|
for f in pf:
|
|
sources.remove('intern' + os.sep + f + 'Win32.cpp')
|
|
sources.remove('intern' + os.sep + f + 'Carbon.cpp')
|