diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-12-18 16:59:33 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-12-18 16:59:33 +0000 |
commit | a2957738903966e767dc87ed076e051509d07145 (patch) | |
tree | 913f73aad7fc1d1d4fc05cd706becbbf848306db /graphics/py-opengl/files | |
parent | f2f4c3cebebf6eb93065608ef94f9201a28bb2c6 (diff) |
Notes
Diffstat (limited to 'graphics/py-opengl/files')
-rw-r--r-- | graphics/py-opengl/files/patch-ab | 14 | ||||
-rw-r--r-- | graphics/py-opengl/files/patch-ac | 18 |
2 files changed, 11 insertions, 21 deletions
diff --git a/graphics/py-opengl/files/patch-ab b/graphics/py-opengl/files/patch-ab index 8b2e1a9a829a..ba09ad72c8a6 100644 --- a/graphics/py-opengl/files/patch-ab +++ b/graphics/py-opengl/files/patch-ab @@ -1,13 +1,13 @@ ---- setup.py 2000/12/04 14:04:20 1.1 -+++ setup.py 2000/12/04 14:05:08 -@@ -80,8 +80,8 @@ +--- config.py 2000/12/18 16:41:01 1.1 ++++ config.py 2000/12/18 16:42:29 +@@ -97,8 +97,8 @@ gl_libs = ["GL","X11","Xext"] # some Mesa versions need X11 here - glu_libs = ["GLU","Xext","X11"] + gl_libs + glu_libs = ["GLU"] + gl_libs glut_libs = ["glut","Xi","Xmu"] + glu_libs # + ['cvt'] SGI IRIX6 - include_dirs = ["src","/usr/local/include","/usr/X11/include","/usr/include"] - gl_lib_dirs = ["/usr/local/lib","/usr/X11/lib","/usr/lib"] + include_dirs = ["src","%%LOCALBASE%%/include","%%X11BASE%%/include","/usr/include"] + gl_lib_dirs = ["%%LOCALBASE%%/lib","%%X11BASE%%/lib","/usr/lib"] - glu_lib_dirs = gl_lib_dirs - glut_lib_dirs = glu_lib_dirs - wgl_extension = [] + # special case for IRIX ######### + # you may have to specify your own paths here + if sys.platform[0:4] == "irix": gl_lib_dirs = [] diff --git a/graphics/py-opengl/files/patch-ac b/graphics/py-opengl/files/patch-ac index fbe9dc1760a9..adaf5aa3e77a 100644 --- a/graphics/py-opengl/files/patch-ac +++ b/graphics/py-opengl/files/patch-ac @@ -1,6 +1,6 @@ ---- togl_setup.py.orig Fri Nov 3 16:19:44 2000 -+++ togl_setup.py Mon Dec 4 17:35:23 2000 -@@ -60,16 +60,16 @@ +--- togl_setup.py.orig Fri Nov 10 16:37:06 2000 ++++ togl_setup.py Mon Dec 18 18:44:45 2000 +@@ -56,8 +56,8 @@ tk_include_dir = string.replace(tk.getvar('tk_library'),"/lib/","/include/") tcl_lib_dir = os.path.normpath(os.path.join(tk.getvar('tcl_library'),"..")) tk_lib_dir = os.path.normpath(os.path.join(tk.getvar('tk_library'),"..")) @@ -10,14 +10,4 @@ + tk_lib = "tk" + string.replace(tk.getvar('tk_version'),".","") # Where to find tcl.h, tk.h, OpenGL/Mesa headers, etc: -- include_dirs = ["src/"+Togl, "/usr/local/include", "/usr/X11/include", -+ include_dirs = ["src/"+Togl, "%%LOCALBASE%%/include", "%%X11BASE%%/include", - tcl_include_dir, tk_include_dir] - # Libraries to link with (-ldl for Linux only?): - libraries = [tk_lib,tcl_lib,"GLU","GL","X11","Xmu","Xext","Xt","m"] - # Where to find libtcl.a, libtk.a, OpenGL/Mesa libraries: -- library_dirs = ["/usr/local/lib","/usr/X11/lib", -+ library_dirs = ["%%LOCALBASE%%/lib","%%X11BASE%%/lib", - tcl_lib_dir, tk_lib_dir] - runtime_library_dirs = None - + include_dirs = [os.path.join("src",Togl)] + config.togl_include_dirs + \ |