summaryrefslogtreecommitdiff
path: root/graphics/geomview/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/geomview/files')
-rw-r--r--graphics/geomview/files/patch-aa56
-rw-r--r--graphics/geomview/files/patch-ab29
-rw-r--r--graphics/geomview/files/patch-ac19
-rw-r--r--graphics/geomview/files/patch-ae17
-rw-r--r--graphics/geomview/files/patch-af19
-rw-r--r--graphics/geomview/files/patch-ag27
6 files changed, 167 insertions, 0 deletions
diff --git a/graphics/geomview/files/patch-aa b/graphics/geomview/files/patch-aa
new file mode 100644
index 000000000000..83f00f5900ca
--- /dev/null
+++ b/graphics/geomview/files/patch-aa
@@ -0,0 +1,56 @@
+--- 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 -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 -ltk41 -ltcl -L${SYSXLIBDIR} -lX11
++TKINC = -I${LOCALBASE}/include
+
+
+ # Choose or adapt one of the following sets of definitions.
+@@ -43,6 +45,9 @@
+ # MGLIBS =
+
+ # for OpenGL using Mesa libraries:
+-MGTYPE = -DMGOPENGL
+-MGLIBS = -lMesaGL -lMesaGLU
+-MGINC = # -IMesa-include-file directory
++#
++# Mesa is available from /usr/ports/graphics/Mesa.
++#MGTYPE = -DMGOPENGL
++# The port auto-builds both types.
++MGLIBS = -L${X11BASE}/lib -lMesaGL -lMesaGLU
++MGINC = -I${X11BASE}/include/Mesa
diff --git a/graphics/geomview/files/patch-ab b/graphics/geomview/files/patch-ab
new file mode 100644
index 000000000000..9fe07948bba2
--- /dev/null
+++ b/graphics/geomview/files/patch-ab
@@ -0,0 +1,29 @@
+--- makefiles/mk.site.default.orig Wed Oct 30 22:25:12 1996
++++ makefiles/mk.site.default Sun Dec 15 10:34:46 1996
+@@ -12,7 +12,7 @@
+ # running 'make install'.
+ # TAKE CARE that no blank characters follow after the name you enter here.
+
+-GEOMROOT=
++GEOMROOT= ${PREFIX}/share/geomview
+
+ # NOTE: The variable MACHTYPE has already been set by the time this file
+ # is read; it's the type of computer we're on ("sgi" or "next").
+@@ -22,7 +22,7 @@
+ # programs are to be installed. This should be a directory that is on
+ # users' $path, like /usr/local/bin.
+
+-BINDIR = /usr/local/bin
++BINDIR= ${PREFIX}/bin
+
+ # MMAPACKAGEDIR should be the pathname of the directory into which the
+ # Mathematica packages (OOGL.m, etc.) are to be installed. This should be some
+@@ -48,7 +48,7 @@
+ # manual pages are to be installed. The man pages will actually go into
+ # subdirectories of this directory with names like "man1", "cat1", etc.
+
+-MANDIR = /usr/local/man
++MANDIR= ${PREFIX}/man
+
+ # NOTE:
+ #
diff --git a/graphics/geomview/files/patch-ac b/graphics/geomview/files/patch-ac
new file mode 100644
index 000000000000..7be561b3dd30
--- /dev/null
+++ b/graphics/geomview/files/patch-ac
@@ -0,0 +1,19 @@
+--- src/bin/geomview/x11/O.x11/Makefile.orig Wed Oct 30 17:50:16 1996
++++ src/bin/geomview/x11/O.x11/Makefile Sun Dec 15 10:34:46 1996
+@@ -5,6 +5,16 @@
+ include ../Makedefs
+ include ../../common/Makedefs.common
+
++gvcamui-x11.o:
++ rm -f $@ ${@:.o=.c}
++ ${LNSRC} ../gvcamui.c gvcamui-x11.c
++ ${CC} -I.. -DMGX11 ${CFLAGS} -c ${@:.o=.c}
++
++gvcamui-mesa.o:
++ rm -f $@ ${@:.o=.c}
++ ${LNSRC} ../gvcamui.c gvcamui-mesa.c
++ ${CC} -I.. -DMGOPENGL ${CFLAGS} -c ${@:.o=.c}
++
+ include ${GEOM}/makefiles/Makerules.obj
+ include ${MKDEPFILE}
+
diff --git a/graphics/geomview/files/patch-ae b/graphics/geomview/files/patch-ae
new file mode 100644
index 000000000000..080f4754ae1d
--- /dev/null
+++ b/graphics/geomview/files/patch-ae
@@ -0,0 +1,17 @@
+--- src/bin/geomview/x11/Makefile.orig Mon Nov 4 12:10:47 1996
++++ src/bin/geomview/x11/Makefile Sun Dec 15 10:34:47 1996
+@@ -25,9 +25,12 @@
+ -e 's/^MACHTYPE=.*/MACHTYPE=${MACHTYPE}/' < geomview-x11 > $@
+ chmod +x $@
+
+-install_script: demand_GEOMROOT geomview
++install_script: demand_GEOMROOT
+ sed -e 's|^GEOMROOT=.*$$|GEOMROOT=${GEOMROOT}|' \
+- -e 's/^MACHTYPE=.*/MACHTYPE=${MACHTYPE}/' < geomview-x11 > geomview
++ -e 's/^MACHTYPE=.*/MACHTYPE=${MACHTYPE}/' \
++ -e '/_GVX/s|$${GEOMROOT}|${PREFIX}/libexec/geomview|' \
++ -e '/_EMODULE/s|$${GEOMROOT}|${PREFIX}/libexec/geomview|' \
++ < geomview-x11 > geomview
+ ${INSTALL} -m 775 -O -v -F ${BINDIR} geomview
+
+ clang: _always
diff --git a/graphics/geomview/files/patch-af b/graphics/geomview/files/patch-af
new file mode 100644
index 000000000000..b21b7d3e240b
--- /dev/null
+++ b/graphics/geomview/files/patch-af
@@ -0,0 +1,19 @@
+--- src/bin/geomview/x11/Makedefs.orig Wed Oct 30 23:17:07 1996
++++ src/bin/geomview/x11/Makedefs Sun Dec 15 10:34:47 1996
+@@ -1,11 +1,14 @@
+ SRCS = gvmain.c gvmnpanel.c gvcamui.c gvtoolui.c gvappear.c gvmaterial.c\
+ gvcredits.c gvlights.c gvcameras.c gvfiles.c gvload.c gvsave.c \
+ gvcommands.c gvcolor.c gvui.c gvevent.c
+-OBJS = gvmain.o gvmnpanel.o gvcamui.o gvtoolui.o gvappear.o gvmaterial.o\
++COMMONOBJS = gvmain.o gvmnpanel.o gvtoolui.o gvappear.o gvmaterial.o\
+ gvcredits.o gvlights.o gvcameras.o gvfiles.o gvload.o gvsave.o \
+ gvcommands.o gvcolor.o gvui.o gvevent.o
++GVXOBJS = ${COMMONOBJS} gvcamui-x11.o
++GVXOGLOBJS = ${COMMONOBJS} gvcamui-mesa.o
++OBJS = ${COMMONOBJS} gvcamui-x11.o gvcamui-mesa.o
+
+-TARGETS = gvx
++TARGETS = gvx gvx.OGL
+
+ UIPATH = -I/usr/local/include
+
diff --git a/graphics/geomview/files/patch-ag b/graphics/geomview/files/patch-ag
new file mode 100644
index 000000000000..4a0a9447b2b5
--- /dev/null
+++ b/graphics/geomview/files/patch-ag
@@ -0,0 +1,27 @@
+--- src/lib/mg/opengl/Makefile.orig Thu Oct 31 22:42:36 1996
++++ src/lib/mg/opengl/Makefile Sun Dec 15 10:34:47 1996
+@@ -8,14 +8,15 @@
+ include ${GEOM}/makefiles/Makerules.allsrc
+
+ all lib install ${TARGETS} ${LIB} ${COMMONLIB}: _always
+- @case "${MGTYPE}" in \
+- *OPENGL*) \
+- for d in ${DIRS_THIS_MACH}; do (${CDd}; ${MAKE} SITE=${SITE} $@); done ;; \
+- *) \
+- echo "***"; \
+- echo "*** MGTYPE (from makefiles/mk.${CPU}) isn't set to -DMGOPENGL, so"; \
+- echo "*** won't attempt to compile mg OpenGL library."; \
+- echo "***" ;; \
+- esac
++# @case "${MGTYPE}" in \
++# *OPENGL*) \
++# for d in ${DIRS_THIS_MACH}; do (${CDd}; ${MAKE} SITE=${SITE} $@); done ;; \
++# *) \
++# echo "***"; \
++# echo "*** MGTYPE (from makefiles/mk.${CPU}) isn't set to -DMGOPENGL, so"; \
++# echo "*** won't attempt to compile mg OpenGL library."; \
++# echo "***" ;; \
++# esac
++ for d in ${DIRS_THIS_MACH}; do (${CDd}; ${MAKE} SITE=${SITE} $@); done
+
+ install: formatman installman