summaryrefslogtreecommitdiff
path: root/graphics/ocaml-lablgl/files/patch-ab
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2002-06-27 12:08:41 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2002-06-27 12:08:41 +0000
commit7847cc63efdfc7bc518766fa03652483d274f7a8 (patch)
tree081b8b5c6683b3ad847bdb222061f0591b406655 /graphics/ocaml-lablgl/files/patch-ab
parentRemove acs. Its successor, gnucap, is already in the tree. (diff)
Add lablgl 0.97, OpenGL interface for Objective Caml.
PR: 33961 Submitted by: Ronald Kuehn <rk@ronald.org>
Notes
Notes: svn path=/head/; revision=62095
Diffstat (limited to 'graphics/ocaml-lablgl/files/patch-ab')
-rw-r--r--graphics/ocaml-lablgl/files/patch-ab39
1 files changed, 39 insertions, 0 deletions
diff --git a/graphics/ocaml-lablgl/files/patch-ab b/graphics/ocaml-lablgl/files/patch-ab
new file mode 100644
index 000000000000..26bc4cd5fa57
--- /dev/null
+++ b/graphics/ocaml-lablgl/files/patch-ab
@@ -0,0 +1,39 @@
+--- Makefile.config.orig Sun Jan 13 19:30:59 2002
++++ Makefile.config Sun Jan 13 19:44:33 2002
+@@ -7,22 +7,22 @@
+ ##### Adjust these always
+
+ # Where to put the lablgl script
+-BINDIR = /usr/local/bin
++BINDIR = ${PREFIX}/bin
+
+ # Where to find X headers
+-XINCLUDES = -I/usr/X11R6/include
++XINCLUDES = -I${X11BASE}/include
+ # X libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0)
+ #XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lX11
+
+ # Where to find Tcl/Tk headers
+ # This must the same version as for LablTk
+-TKINCLUDES = -I/usr/local/include
++TKINCLUDES = -I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3
+ # Tcl/Tk libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0)
+-#TKLIBS = -L/usr/local/lib -ltk83 -ltcl83
++TKLIBS = -L${LOCALBASE}/lib -ltk83 -ltcl83
+
+ # Where to find OpenGL/Mesa headers and libraries
+ GLINCLUDES =
+-GLLIBS = -lGL -lGLU
++GLLIBS = -L${X11BASE}/lib -R${X11BASE}/lib -lGL -lGLU -lXmu -lXext
+ # The following libraries may be required (try to add them one at a time)
+ # GLLIBS = -lGL -lGLU -lXmu -lXext -lpthread
+
+@@ -45,7 +45,7 @@
+ TOGLDIR = Togl
+
+ # C Compiler options
+-COPTS = -c -O
++COPTS = -c ${CFLAGS}
+
+ ###### No need to change these
+