summaryrefslogtreecommitdiff
path: root/games/vdrift/files/patch-SConstruct
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-04-08 23:26:36 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-04-08 23:26:36 +0000
commitfde0eeff8c8d22a2edfe187fb222a8b9b947492e (patch)
tree651669bf916c51a00622890eab16bac7e905164d /games/vdrift/files/patch-SConstruct
parent- Update to 0.7.0 (diff)
- Update to 20060221
PR: ports/93680 Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> (maintainer)
Diffstat (limited to 'games/vdrift/files/patch-SConstruct')
-rw-r--r--games/vdrift/files/patch-SConstruct52
1 files changed, 0 insertions, 52 deletions
diff --git a/games/vdrift/files/patch-SConstruct b/games/vdrift/files/patch-SConstruct
deleted file mode 100644
index 023937c0b476..000000000000
--- a/games/vdrift/files/patch-SConstruct
+++ /dev/null
@@ -1,52 +0,0 @@
---- SConstruct Thu Nov 3 09:45:12 2005
-+++ SConstruct Wed Nov 9 23:21:40 2005
-@@ -1,6 +1,12 @@
- import os, errno, SCons
- from time import gmtime, strftime
-
-+#-----------------#
-+# FreeBSD Options #
-+#-----------------#
-+LOCALBASE = os.environ['LOCALBASE']
-+X11BASE = os.environ['X11BASE']
-+
- #---------------#
- # Build Options #
- #---------------#
-@@ -15,11 +21,16 @@
- # Create Build Environment #
- #--------------------------#
- env = Environment(ENV = os.environ,
-- CPPPATH = ['#include'],
-+ CPPPATH = ['#include',LOCALBASE + '/include', LOCALBASE + '/include/AL', X11BASE + '/include'],
- CCFLAGS = ['-Wall', '-Wno-non-virtual-dtor'],
-- LIBPATH = ['.', '#lib'],
-+ LIBPATH = ['.', '#lib', LOCALBASE + '/lib', X11BASE + '/lib'],
-+ LINKFLAGS = ['-pthread'],
- options = opts)
-
-+env.Replace(CC = os.environ['CC'])
-+env.Replace(CXX = os.environ['CXX'])
-+env.Append(CXXFLAGS = os.environ['CXXFLAGS'])
-+
- #--------------#
- # Save Options #
- #--------------#
-@@ -122,7 +133,7 @@
- print 'You do not have the %s library installed. Exiting.' % lib
- Exit(1)
-
--SDL_headers = ['GL/gl.h', 'GL/glu.h', 'SDL/SDL.h', 'SDL/SDL_image.h', 'SDL/SDL_net.h']
-+SDL_headers = ['GL/gl.h', 'GL/glu.h', 'SDL11/SDL.h', 'SDL11/SDL_image.h', 'SDL11/SDL_net.h']
-
- for header in SDL_headers:
- if not conf.CheckCXXHeader(header):
-@@ -135,7 +146,7 @@
- # Debug/release #
- #---------------#
- if not int(release):
-- env.Append(CCFLAGS = ['-g', '-O2'])
-+ env.Append(CCFLAGS = ['-g'])
-
- #---------#
- # Version #