upgrade to ocaml 2.02

This commit is contained in:
brad 1999-07-09 02:51:11 +00:00
parent 07e05aa3c1
commit e14fdfdbc1
5 changed files with 113 additions and 113 deletions

View File

@ -1,12 +1,6 @@
# OpenBSD makefile for: Objective Caml
# Version required: 2.01
# Date created: December 12, 1997
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.2 1999/02/13 04:20:08 angelos Exp $
#
# $OpenBSD: Makefile,v 1.3 1999/07/09 02:51:11 brad Exp $
DISTNAME= ocaml-2.01
DISTNAME= ocaml-2.02
CATEGORIES= lang
MASTER_SITES= ftp://ftp.kurims.kyoto-u.ac.jp/pub/lang/caml-light/ \
ftp://ftp.inria.fr/lang/caml-light/
@ -17,18 +11,12 @@ MAINTAINER= kiri@kiri.toba-cmt.ac.jp
HAS_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET= world bootstrap opt
MAN1= ocaml.1 ocamlc.1 ocamlcp.1 ocamldep.1 ocamllex.1 \
ocamlopt.1 ocamlprof.1 ocamlrun.1 ocamlyacc.1
.if !defined(NOPORTDOCS)
DOCFILES= ${DISTNAME}-refman.html.tar.gz
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ocaml/html
cd ${WRKDIR}/htmlman; ${INSTALL_DATA} * ${PREFIX}/share/doc/ocaml/html
.endif
@${MKDIR} ${PREFIX}/share/doc/ocaml/html
@${INSTALL_DATA} ${WRKDIR}/htmlman/* ${PREFIX}/share/doc/ocaml/html
@strip ${PREFIX}/bin/ocamlrun ${PREFIX}/bin/ocamlyacc
.include <bsd.port.mk>

View File

@ -1,6 +1,6 @@
MD5 (ocaml-2.01-refman.html.tar.gz) = 2b8afa9838a2743429017f1bf5e47514
MD5 (ocaml-2.01.tar.gz) = 9e67b6de3fc50d9a1e25011e2dde0fd9
RMD160 (ocaml-2.01-refman.html.tar.gz) = 0f4eb5fc51e14a6374aa2dbbbbe660de61617371
RMD160 (ocaml-2.01.tar.gz) = 879a8ce4aeb0974966de6db8ecec79c835f6a2f1
SHA1 (ocaml-2.01-refman.html.tar.gz) = b57ebb87d45c52100fe3b5c94944eb13cd89b0b0
SHA1 (ocaml-2.01.tar.gz) = dc735a8fd67d1a72014868a05a67b38fbb2147f7
MD5 (ocaml-2.02-refman.html.tar.gz) = d8558bcf77a9c8600576d02846eaff5d
MD5 (ocaml-2.02.tar.gz) = 164765dc8093727903f4111500fb30cc
RMD160 (ocaml-2.02-refman.html.tar.gz) = e02f88b5cb6db4800a6f50afb788ed79c126ccd1
RMD160 (ocaml-2.02.tar.gz) = e162822a610ae178f05370e036e921398f74d4c3
SHA1 (ocaml-2.02-refman.html.tar.gz) = 625e135a5ee2fe098d6738704e5c37bd65f754ee
SHA1 (ocaml-2.02.tar.gz) = c32ab6b9d3ff4ad891eab14dc4a5056321d7569c

View File

@ -1,34 +1,30 @@
*** yacc/main.c.orig Thu Feb 12 20:55:43 1998
--- yacc/main.c Thu Feb 12 20:57:50 1998
***************
*** 88,94 ****
--- 88,96 ----
short **derives;
char *nullable;
+ #if !defined(__OpenBSD__)
extern char *mktemp(char *);
+ #endif
extern char *getenv(const char *);
***************
*** 282,291 ****
--- 284,300 ----
union_file_name[len + 5] = 'u';
#ifndef NO_UNIX
+ #ifdef __OpenBSD__
+ close(mkstemp(action_file_name));
+ close(mkstemp(entry_file_name));
+ close(mkstemp(text_file_name));
+ close(mkstemp(union_file_name));
+ #else
mktemp(action_file_name);
mktemp(entry_file_name);
mktemp(text_file_name);
mktemp(union_file_name);
+ #endif
#endif
len = strlen(file_prefix);
--- yacc/main.c.orig Thu Jul 8 21:24:20 1999
+++ yacc/main.c Thu Jul 8 21:25:51 1999
@@ -88,7 +88,9 @@
short **derives;
char *nullable;
+#if !defined(__OpenBSD__)
extern char *mktemp(char *);
+#endif
extern char *getenv(const char *);
@@ -282,10 +284,17 @@
union_file_name[len + 5] = 'u';
#ifndef NO_UNIX
+#ifdef __OpenBSD__
+ close(mkstemp(action_file_name));
+ close(mkstemp(entry_file_name));
+ close(mkstemp(text_file_name));
+ close(mkstemp(union_file_name));
+#else
mktemp(action_file_name);
mktemp(entry_file_name);
mktemp(text_file_name);
mktemp(union_file_name);
+#endif
#endif
len = strlen(file_prefix);

View File

@ -1,15 +1,13 @@
*** configure.orig Thu Feb 12 20:59:17 1998
--- configure Thu Feb 12 20:59:35 1998
***************
*** 125,134 ****
If you are using one of these configurations, you are strongly advised
to use another version of gcc, such as 2.7.2 or 2.7.2.2, which are
known to work well with Objective Caml.
-
- Press <enter> to proceed or <interrupt> to stop.
EOF
- read reply;;
esac;;
esac
--- 125,131 ----
--- configure.orig Thu Jul 8 21:26:32 1999
+++ configure Thu Jul 8 21:27:03 1999
@@ -126,10 +126,7 @@
If you are using one of these configurations, you are strongly advised
to use another version of gcc, such as 2.7.2 or 2.7.2.2, which are
known to work well with Objective Caml.
-
-Press <enter> to proceed or <interrupt> to stop.
EOF
- read reply;;
esac;;
esac

View File

@ -24,6 +24,10 @@ lib/ocaml/array.mli
lib/ocaml/big_int.cmi
lib/ocaml/big_int.cmx
lib/ocaml/big_int.mli
lib/ocaml/buffer.cmi
lib/ocaml/buffer.cmx
lib/ocaml/buffer.ml
lib/ocaml/buffer.mli
lib/ocaml/callback.cmi
lib/ocaml/callback.cmx
lib/ocaml/callback.ml
@ -31,10 +35,12 @@ lib/ocaml/callback.mli
lib/ocaml/caml/alloc.h
lib/ocaml/caml/callback.h
lib/ocaml/caml/config.h
lib/ocaml/caml/fail.h
lib/ocaml/caml/memory.h
lib/ocaml/caml/misc.h
lib/ocaml/caml/mlvalues.h
lib/ocaml/camlheader
lib/ocaml/camlheader_ur
lib/ocaml/char.cmi
lib/ocaml/char.cmx
lib/ocaml/char.ml
@ -90,6 +96,7 @@ lib/ocaml/lexing.cmx
lib/ocaml/lexing.ml
lib/ocaml/lexing.mli
lib/ocaml/libasmrun.a
lib/ocaml/libasmrunp.a
lib/ocaml/libcamlrun.a
lib/ocaml/libgraphics.a
lib/ocaml/libmldbm.a
@ -173,9 +180,13 @@ lib/ocaml/std_exit.cmo
lib/ocaml/std_exit.cmx
lib/ocaml/std_exit.ml
lib/ocaml/std_exit.o
lib/ocaml/std_exit.p.cmx
lib/ocaml/std_exit.p.o
lib/ocaml/stdlib.a
lib/ocaml/stdlib.cma
lib/ocaml/stdlib.cmxa
lib/ocaml/stdlib.p.a
lib/ocaml/stdlib.p.cmxa
lib/ocaml/str.a
lib/ocaml/str.cma
lib/ocaml/str.cmi
@ -227,8 +238,12 @@ man/man1/ocamlopt.1
man/man1/ocamlprof.1
man/man1/ocamlrun.1
man/man1/ocamlyacc.1
man/man1/ocamlc.opt.1
man/man1/ocamlmktop.1
man/man1/ocamlopt.opt.1
share/doc/ocaml/html/contents_motif.gif
share/doc/ocaml/html/index.html
share/doc/ocaml/html/libgraph.gif
share/doc/ocaml/html/next_motif.gif
share/doc/ocaml/html/node1.html
share/doc/ocaml/html/node10.html
@ -238,36 +253,37 @@ share/doc/ocaml/html/node13.html
share/doc/ocaml/html/node14.html
share/doc/ocaml/html/node15.html
share/doc/ocaml/html/node16.html
share/doc/ocaml/html/node17.1.html
share/doc/ocaml/html/node17.10.html
share/doc/ocaml/html/node17.11.html
share/doc/ocaml/html/node17.12.html
share/doc/ocaml/html/node17.13.html
share/doc/ocaml/html/node17.14.html
share/doc/ocaml/html/node17.15.html
share/doc/ocaml/html/node17.16.html
share/doc/ocaml/html/node17.17.html
share/doc/ocaml/html/node17.18.html
share/doc/ocaml/html/node17.19.html
share/doc/ocaml/html/node17.2.html
share/doc/ocaml/html/node17.20.html
share/doc/ocaml/html/node17.21.html
share/doc/ocaml/html/node17.22.html
share/doc/ocaml/html/node17.23.html
share/doc/ocaml/html/node17.24.html
share/doc/ocaml/html/node17.25.html
share/doc/ocaml/html/node17.26.html
share/doc/ocaml/html/node17.27.html
share/doc/ocaml/html/node17.28.html
share/doc/ocaml/html/node17.29.html
share/doc/ocaml/html/node17.3.html
share/doc/ocaml/html/node17.4.html
share/doc/ocaml/html/node17.5.html
share/doc/ocaml/html/node17.6.html
share/doc/ocaml/html/node17.7.html
share/doc/ocaml/html/node17.8.html
share/doc/ocaml/html/node17.9.html
share/doc/ocaml/html/node17.html
share/doc/ocaml/html/node18.1.html
share/doc/ocaml/html/node18.10.html
share/doc/ocaml/html/node18.11.html
share/doc/ocaml/html/node18.12.html
share/doc/ocaml/html/node18.13.html
share/doc/ocaml/html/node18.14.html
share/doc/ocaml/html/node18.15.html
share/doc/ocaml/html/node18.16.html
share/doc/ocaml/html/node18.17.html
share/doc/ocaml/html/node18.18.html
share/doc/ocaml/html/node18.19.html
share/doc/ocaml/html/node18.2.html
share/doc/ocaml/html/node18.20.html
share/doc/ocaml/html/node18.21.html
share/doc/ocaml/html/node18.22.html
share/doc/ocaml/html/node18.23.html
share/doc/ocaml/html/node18.24.html
share/doc/ocaml/html/node18.25.html
share/doc/ocaml/html/node18.26.html
share/doc/ocaml/html/node18.27.html
share/doc/ocaml/html/node18.28.html
share/doc/ocaml/html/node18.29.html
share/doc/ocaml/html/node18.3.html
share/doc/ocaml/html/node18.30.html
share/doc/ocaml/html/node18.4.html
share/doc/ocaml/html/node18.5.html
share/doc/ocaml/html/node18.6.html
share/doc/ocaml/html/node18.7.html
share/doc/ocaml/html/node18.8.html
share/doc/ocaml/html/node18.9.html
share/doc/ocaml/html/node18.html
share/doc/ocaml/html/node19.html
share/doc/ocaml/html/node2.html
@ -275,22 +291,24 @@ share/doc/ocaml/html/node20.html
share/doc/ocaml/html/node21.html
share/doc/ocaml/html/node22.html
share/doc/ocaml/html/node23.html
share/doc/ocaml/html/node24.html
share/doc/ocaml/html/node25.html
share/doc/ocaml/html/node3.html
share/doc/ocaml/html/node4.html
share/doc/ocaml/html/node5.1.html
share/doc/ocaml/html/node5.10.html
share/doc/ocaml/html/node5.11.html
share/doc/ocaml/html/node5.12.html
share/doc/ocaml/html/node5.13.html
share/doc/ocaml/html/node5.2.html
share/doc/ocaml/html/node5.3.html
share/doc/ocaml/html/node5.4.html
share/doc/ocaml/html/node5.5.html
share/doc/ocaml/html/node5.6.html
share/doc/ocaml/html/node5.7.html
share/doc/ocaml/html/node5.8.html
share/doc/ocaml/html/node5.9.html
share/doc/ocaml/html/node5.html
share/doc/ocaml/html/node6.1.html
share/doc/ocaml/html/node6.10.html
share/doc/ocaml/html/node6.11.html
share/doc/ocaml/html/node6.12.html
share/doc/ocaml/html/node6.13.html
share/doc/ocaml/html/node6.2.html
share/doc/ocaml/html/node6.3.html
share/doc/ocaml/html/node6.4.html
share/doc/ocaml/html/node6.5.html
share/doc/ocaml/html/node6.6.html
share/doc/ocaml/html/node6.7.html
share/doc/ocaml/html/node6.8.html
share/doc/ocaml/html/node6.9.html
share/doc/ocaml/html/node6.html
share/doc/ocaml/html/node7.html
share/doc/ocaml/html/node8.html