diff options
Diffstat (limited to 'lang/caml-light/files')
-rw-r--r-- | lang/caml-light/files/patch-aa | 37 | ||||
-rw-r--r-- | lang/caml-light/files/patch-ab | 71 | ||||
-rw-r--r-- | lang/caml-light/files/patch-ad | 8 | ||||
-rw-r--r-- | lang/caml-light/files/patch-ae | 13 | ||||
-rw-r--r-- | lang/caml-light/files/patch-af | 7 |
5 files changed, 136 insertions, 0 deletions
diff --git a/lang/caml-light/files/patch-aa b/lang/caml-light/files/patch-aa new file mode 100644 index 000000000000..a94c693c0087 --- /dev/null +++ b/lang/caml-light/files/patch-aa @@ -0,0 +1,37 @@ +--- src/Makefile.orig Thu Apr 24 20:21:03 1997 ++++ src/Makefile Tue Jul 28 08:30:13 1998 +@@ -24,19 +24,19 @@ + # not all Unix C preprocessors define it. + # If your cpp is too fussy, make tools/clprepro and use this: + # CPP=../../src/tools/clprepro -Dunix +-CPP=/lib/cpp -P -Dunix ++CPP=/usr/bin/cpp -P -Dunix + + # The directory where public executables will be installed +-BINDIR=/usr/local/bin ++BINDIR=${PREFIX}/bin + + # The directory where the Caml Light standard library will be installed +-LIBDIR=/usr/local/lib/caml-light ++LIBDIR=${PREFIX}/lib/caml-light + + # The manual section where the manual pages will be installed + MANEXT=1 + + # The directory where the manual pages will be installed +-MANDIR=/usr/local/man/man$(MANEXT) ++MANDIR=${PREFIX}/man/man$(MANEXT) + + # Some "make"s need this to ensure that they call the Bourne shell, + # not the C shell. Seems harmless on most other "make"s. +@@ -118,8 +118,8 @@ + + # Install the Caml Light system + install: +- if test -d $(BINDIR); then : ; else mkdir $(BINDIR); fi +- if test -d $(LIBDIR); then : ; else mkdir $(LIBDIR); fi ++ if test -d $(BINDIR); then : ; else mkdir -p $(BINDIR); fi ++ if test -d $(LIBDIR); then : ; else mkdir -p $(LIBDIR); fi + cd runtime; make BINDIR=$(BINDIR) LIBDIR=$(LIBDIR) install + cd launch; make BINDIR=$(BINDIR) LIBDIR=$(LIBDIR) install + cd lib; make BINDIR=$(BINDIR) LIBDIR=$(LIBDIR) install diff --git a/lang/caml-light/files/patch-ab b/lang/caml-light/files/patch-ab new file mode 100644 index 000000000000..f9fb792626a3 --- /dev/null +++ b/lang/caml-light/files/patch-ab @@ -0,0 +1,71 @@ +--- contrib/Makefile-- Mon Dec 1 23:47:01 1997 ++++ contrib/Makefile Mon Jul 27 12:27:01 1998 +@@ -5,7 +5,7 @@ + # Remember that "libunix" is required for + # "debugger", "libgraph", "camltk", "camltk4", and "search_isos". + PACKAGES=libunix libgraph debugger libnum libstr mletags \ +- camlmode lorder profiler camltk4 camlsearch ++ camlmode lorder profiler camlsearch + # caml-tex + # caml-latex2e + # camltk +@@ -22,7 +22,7 @@ + # and /usr/ccs/lib/cpp under Solaris. + # The -P option suppresses the generation of "# linenum" directives, + # which are not understood by Caml Light. +-CPP=/lib/cpp -P ++CPP=/usr/bin/cpp -P + + # Test to see whether ranlib exists on the machine + RANLIBTEST=test -f /usr/bin/ranlib -o -f /bin/ranlib +@@ -31,26 +31,26 @@ + RANLIB=ranlib + + # The directory where public executables will be installed +-BINDIR=/usr/local/bin ++BINDIR=${PREFIX}/bin + + # The directory where library files will be installed +-LIBDIR=/usr/local/lib/caml-light ++LIBDIR=${PREFIX}/lib/caml-light + + # The manual section where the manual pages will be installed + MANEXT=1 + + # The directory where the manual pages will be installed +-MANDIR=/usr/local/man/man$(MANEXT) ++MANDIR=${PREFIX}/man/man$(MANEXT) + + # The path to the include directory containing the X11/*.h includes + # (usually /usr/include; for SunOS with OpenLook, /usr/openwin/include) + # Needed for the "libgraph" and "camltk" packages. +-X11_INCLUDES=/usr/X11R6/include ++X11_INCLUDES=${X11BASE}/include + + # The path to the directory containing the X11 libraries. + # (usually /usr/lib; for SunOS with OpenLook, /usr/openwin/lib) + # Needed for the "libgraph" and "camltk" packages. +-X11_LIB=/usr/X11R6/lib ++X11_LIB=${X11BASE}/lib + + # Name of the target architecture. + # Used only for the libnum library (arbitrary-precision arithmetic), to +@@ -62,15 +62,15 @@ + # See the file libnum/README for more explanations. + # If you don't know, leave BIGNUM_ARCH=C, which selects a portable + # C implementation of these routines. +-BIGNUM_ARCH=C ++BIGNUM_ARCH=pentium + + # Name of the directory where LaTeX style files should be installed. + # Needed only for the "caml-tex" and "caml-latex2e" packages. +-TEXINPUTDIR=/usr/lib/texmf/tex/latex/etc ++TEXINPUTDIR=${PREFIX}/lib/texmf/tex/latex/etc + + # Name of the directory where Emacs Lisp files should be installed. + # Needed only for the "camlmode" package. +-EMACSLISPDIR=/usr/lib/emacs/site-lisp ++EMACSLISPDIR=${PREFIX}/share/emacs/site-lisp + + # Name of the directories where the tcl.h and tk.h includes can be found. + # Needed only for the "camltk" package. diff --git a/lang/caml-light/files/patch-ad b/lang/caml-light/files/patch-ad new file mode 100644 index 000000000000..2b627cd4fd0a --- /dev/null +++ b/lang/caml-light/files/patch-ad @@ -0,0 +1,8 @@ +--- src/man/Makefile-- Tue Nov 1 23:06:06 1994 ++++ src/man/Makefile Tue Jul 28 08:50:22 1998 +@@ -3,4 +3,5 @@ + MANDIR=/usr/man/man$(MANEXT) + + install: ++ mkdir -p ${MANDIR} + for f in $(MAN); do cp $$f $(MANDIR)/`basename $$f .m`.$(MANEXT); done diff --git a/lang/caml-light/files/patch-ae b/lang/caml-light/files/patch-ae new file mode 100644 index 000000000000..e3e52ff7155a --- /dev/null +++ b/lang/caml-light/files/patch-ae @@ -0,0 +1,13 @@ +--- contrib/camlmode/Makefile-- Mon Dec 2 22:13:37 1996 ++++ contrib/camlmode/Makefile Tue Jul 28 08:48:02 1998 +@@ -11,8 +11,9 @@ + all: + + install: ++ mkdir -p $(EMACSLISPDIR) + cp $(FILES) $(EMACSLISPDIR) +- dir=`pwd`; cd $(EMACSLISPDIR); $(EMACS) -batch -l $$dir/compile ++ -dir=`pwd`; cd $(EMACSLISPDIR); $(EMACS) -batch -l $$dir/compile + + clean: + rm -f *~ #*# diff --git a/lang/caml-light/files/patch-af b/lang/caml-light/files/patch-af new file mode 100644 index 000000000000..9d7bbddcf7a8 --- /dev/null +++ b/lang/caml-light/files/patch-af @@ -0,0 +1,7 @@ +--- contrib/camlsearch/emacs-lisp/Makefile-- Sat Feb 4 23:42:23 1995 ++++ contrib/camlsearch/emacs-lisp/Makefile Tue Jul 28 08:49:53 1998 +@@ -1,3 +1,4 @@ + SOURCES=caml-search.el + install: $(SOURCES) ++ mkdir -p $(ELISPDIR) + cp $(SOURCES) $(ELISPDIR) |