1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/graphics/geomview/files/patch-aa
Bill Fenner b3b4975488 Update the geomview-1.6.1 to use the current tarball, which turns
out to be different than the one that the port was written for.
1999-02-12 03:08:46 +00:00

68 lines
2.3 KiB
Plaintext

--- 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 -ltk80 -ltcl80 -L${SYSXLIBDIR} -lX11
+TKINC = -I${LOCALBASE}/include/tcl8.0 -I${LOCALBASE}/include/tk8.0
# 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=