Annotation of ports/games/vdrift/patches/patch-SConstruct, Revision 1.1
1.1 ! yason 1: $OpenBSD$
! 2: --- SConstruct.orig Wed Oct 26 19:56:35 2011
! 3: +++ SConstruct Wed Oct 26 19:58:19 2011
! 4: @@ -35,7 +35,7 @@ default_bindir = "bin"
! 5: #---------------#
! 6: # FreeBSD build #
! 7: #---------------#
! 8: -if (sys.platform == 'freebsd6') or (sys.platform == 'freebsd7') or (sys.platform == 'freebsd8') or (sys.platform == 'freebsd9'):
! 9: +if (sys.platform == 'freebsd6') or (sys.platform == 'freebsd7') or (sys.platform == 'freebsd8') or (sys.platform == 'freebsd9') or (sys.platform == 'openbsd5'):
! 10: if 'LOCALBASE' in os.environ:
! 11: LOCALBASE = os.environ['LOCALBASE']
! 12: else:
! 13: @@ -45,7 +45,7 @@ if (sys.platform == 'freebsd6') or (sys.platform == 'f
! 14: LIBPATH = ['.', '#lib', LOCALBASE + '/lib'],
! 15: LINKFLAGS = ['-pthread','-lintl'],
! 16: options = opts)
! 17: - check_headers = ['asio.hpp', 'boost/bind.hpp', 'GL/gl.h', 'GL/glu.h', 'SDL/SDL.h', 'SDL/SDL_image.h', 'SDL/SDL_rotozoom.h', 'vorbis/vorbisfile.h', 'GL/glew.h', 'bullet/btBulletCollisionCommon.h']
! 18: + check_headers = ['boost/asio.hpp', 'boost/bind.hpp', 'GL/gl.h', 'GL/glu.h', 'SDL/SDL.h', 'SDL/SDL_image.h', 'SDL/SDL_rotozoom.h', 'vorbis/vorbisfile.h', 'GL/glew.h', 'bullet/btBulletCollisionCommon.h']
! 19: if 'CC' in os.environ:
! 20: env.Replace(CC = os.environ['CC'])
! 21: else:
CVSweb