summaryrefslogtreecommitdiff
path: root/graphics/geomview/files/patch-aa
blob: ef5c8bc62565d589c268376c2a46bf8deb89b0e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
--- makefiles/mk.FreeBSD.orig	Tue Dec 10 16:39:02 1996
+++ makefiles/mk.FreeBSD	Thu Dec 19 11:34:22 1996
@@ -6,7 +6,7 @@
 # A machine-specific makefile is included by all other makefiles.
 #
 
-#CPU = FreeBSD
+CPU = FreeBSD
 MACHTYPE = x11
 RANLIB = ranlib
 CC = gcc
@@ -17,22 +17,24 @@
 
 # Add the location of the Motif (Xm/*.h) include files to the path.
 # (Or, add a /usr/include/Xm sym-link and remove this -I option.)
-SYSCOPTS = -pipe -DBSD -Dalloca=alloca -I/usr/include/X11
+SYSCOPTS = -pipe -DBSD -Dalloca=alloca -I${X11BASE}/include
 
-SYSXLIBDIR = /usr/X11R6/lib
-SYSMOTIFLIBS = -L${SYSXLIBDIR} -lXm
+SYSXLIBDIR = ${X11BASE}/lib
+SYSMOTIFLIBS = ${MOTIFLIB}
 SYSXLIBS = -L${SYSXLIBDIR} -lXt -lXext -lXmu -lX11
 
 # If you have the FORMS library, uncomment these lines and edit:
 #  set FORMSLIBS to the list of all libs needed
 #  and FORMSINC to the relevant -I options:
-# FORMSLIBS = -L/usr/local/lib -lforms -L${SYSXLIBDIR} -lX11
-# FORMSINC = -I/u/share/include/XForms
+#
+# XForms is available from /usr/ports/x11/xforms.
+FORMSLIBS = -L${X11BASE}/lib -lxforms -lX11
+FORMSINC = -I${X11BASE}/include
 
 # If you have Tcl/Tk libraries (tk 4.0 or later), uncomment and edit:
 # indicate cc options to find tk-related libraries and include-files.
-# TKLIBS = -L/usr/local/lib -ltk -ltcl -L${SYSXLIBDIR} -lX11
-# TKINC = -I/u/share/include
+TKLIBS = -L${LOCALBASE}/lib -ltk82 -ltcl82 -L${SYSXLIBDIR} -lX11
+TKINC = -I${LOCALBASE}/include/tcl8.2 -I${LOCALBASE}/include/tk8.2
 
 
 # Choose or adapt one of the following sets of definitions.
@@ -43,9 +45,11 @@
 # MGLIBS =
 
 # for OpenGL using Mesa libraries:
+#
+# Mesa is available from /usr/ports/graphics/Mesa.
 MGTYPE = -DMGOPENGL
-MGLIBS = -lMesaGL -lMesaGLU
-MGINC = # -IMesa-include-file directory
+MGLIBS = -L${X11BASE}/lib -lMesaGL -lMesaGLU
+MGINC = -I${X11BASE}/include/Mesa
 
 # If the above stuff sets MGTYPE = -DMGOPENGL, and MGINC = whatever's needed
 # for Open GL compilation, then you can also use MGMESAOPTS and/or MGC3DOPTS
@@ -66,6 +70,6 @@
 # you can still do the following.  Define MGX11OPTS to get a separate
 # gvx.X11 geomview executable which uses our own software renderer.
 # It's typically faster than the Mesa renderer, but less capable.
-# MGX11OPTS =	MGTYPE="-DMGX11" \
-#		MGLIBS= \
-#		MGINC=
+MGX11OPTS =	MGTYPE="-DMGX11" \
+		MGLIBS= \
+		MGINC=