diff options
author | Volker Stolz <vs@FreeBSD.org> | 2004-09-03 09:02:31 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2004-09-03 09:02:31 +0000 |
commit | 3f4a478e617539c167e5b550956399749c836981 (patch) | |
tree | debcc7991e3a114fe8d5c37f5588f301e7b44cee /science/vmd/files/patch-configure | |
parent | Fix port description (diff) |
Fix build in presence of x11/nvidia-driver
PR: ports/71052
Submitted by: Stephen Montgomery-Smith (maintainer)
Notes
Notes:
svn path=/head/; revision=118021
Diffstat (limited to '')
-rw-r--r-- | science/vmd/files/patch-configure | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/science/vmd/files/patch-configure b/science/vmd/files/patch-configure index 61312368177a..19f2bb9934d1 100644 --- a/science/vmd/files/patch-configure +++ b/science/vmd/files/patch-configure @@ -1,15 +1,19 @@ --- configure-xxx Fri Dec 5 13:20:58 2003 +++ configure Thu Aug 12 00:22:30 2004 -@@ -1175,7 +1175,7 @@ +@@ -1174,8 +1174,10 @@ + # XFree 4.0 Direct Rendering Interface and GLX $opengl_dir = "/usr/X11R6"; - $opengl_include = "-I$opengl_dir/include"; +- $opengl_include = "-I$opengl_dir/include"; - $opengl_library = "-L$opengl_dir/lib"; ++# -DGLX_GLXEXT_LEGACY is required for patched OpenGLExtensions.C to compile. ++# See patched OpenGLExtensions.C for explanation. ++ $opengl_include = "-DGLX_GLXEXT_LEGACY -I$opengl_dir/include"; + $opengl_library = "-L$opengl_dir/lib -L/usr/local/lib"; $opengl_libs = "-lGL -lGLU"; $arch_lex = "flex"; -@@ -1209,7 +1209,7 @@ +@@ -1209,7 +1211,7 @@ # this is to make tcl happy, # also needed for plugins |