summaryrefslogtreecommitdiff
path: root/lang/moscow_ml/patches
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2000-08-23 21:57:58 +0000
committertron <tron@pkgsrc.org>2000-08-23 21:57:58 +0000
commit70d66fb13d140049127a9831808571b7ebb2b3b8 (patch)
treef117786d5f912ea2bde7815bc20341f05da5b823 /lang/moscow_ml/patches
parent11dae9c0cbfd6636304129870b9e05bbfae2a16e (diff)
downloadpkgsrc-70d66fb13d140049127a9831808571b7ebb2b3b8.tar.gz
Update "moscow_ml" package to version 2.00. Changes since version 1.44:
This is file README for Moscow ML 2.00 for Linux/Unix (June 2000) - The full SML Modules language (structures, signatures, and functors) is now supported, thanks to Claudio Russo. Also, several extensions to the SML Modules language are provided: - higher-order functors: functors may be defined within structures and functors - first-class modules: structures and functors may be packed and then handled as Core language values, which may then be unpacked as structures or functors again - recursive modules: signatures and structures may be recursively defined - Value polymorphism has become friendlier: non-generalizable free type variables are left free, and become instantiated (once only) when the bound variable is used - Added facilities for creating and communicating with subprocesses (structure Unix and Signal from SML Basis Library). - Added facilities for efficient functional generation of HTML code (structure Msp); also supports the writing of ML Server Page scripts. - Added facilities setting and accessing `cookies' in CGI scripts (structure Mosmlcookie), thanks to Hans Molin, Uppsala, Sweden. - The Gdimage structure now produces PNG images (using Thomas Boutell's gd library).
Diffstat (limited to 'lang/moscow_ml/patches')
-rw-r--r--lang/moscow_ml/patches/patch-aa28
-rw-r--r--lang/moscow_ml/patches/patch-ab13
-rw-r--r--lang/moscow_ml/patches/patch-ac13
-rw-r--r--lang/moscow_ml/patches/patch-ad13
4 files changed, 56 insertions, 11 deletions
diff --git a/lang/moscow_ml/patches/patch-aa b/lang/moscow_ml/patches/patch-aa
index 72bb20ee4d6..47307510d10 100644
--- a/lang/moscow_ml/patches/patch-aa
+++ b/lang/moscow_ml/patches/patch-aa
@@ -1,5 +1,7 @@
---- Makefile.inc.orig Wed Aug 4 17:40:24 1999
-+++ Makefile.inc Wed Apr 5 10:05:09 2000
+$NetBSD: patch-aa,v 1.5 2000/08/23 21:57:58 tron Exp $
+
+--- Makefile.inc.orig Thu Jun 29 02:28:14 2000
++++ Makefile.inc Wed Aug 23 23:39:29 2000
@@ -2,20 +2,20 @@
# Where to install stuff
@@ -24,10 +26,10 @@
ADDRUNCFLAGS=
ADDDYNLIBCFLAGS=
-@@ -26,13 +26,13 @@ LD=gcc -rdynamic
- DYNLD=ld -shared
+@@ -45,13 +45,13 @@
- # For NetBSD, use instead:
+ # For NetBSD, use:
+ # ------------------------
-# CPP=/usr/bin/cpp -P -traditional -Dunix -Umsdos
-# STRIP=/usr/bin/strip
-# ADDRUNCFLAGS=-fPIC
@@ -43,18 +45,22 @@
+INSTALL_SCRIPT=${BSD_INSTALL_SCRIPT}
+INSTALL_DATA=${BSD_INSTALL_DATA}
- # For Solaris 2 (not SunOS 4), use instead:
- # CPP=/usr/ccs/lib/cpp -P -Dunix -Umsdos
-@@ -68,10 +68,10 @@ SHELL=/bin/sh
- # LIBDIR contains bytecode files (such as mosmlcmp and library units)
+ # For Solaris 2 (not SunOS 4), use:
+ # ---------------------------------
+@@ -114,12 +114,12 @@
+ # DOCDIR contains documentation
BINDIR=${MOSMLHOME}/bin
-LIBDIR=${MOSMLHOME}/lib
+-INCDIR=${MOSMLHOME}/include
+-DOCDIR=${MOSMLHOME}/doc
-TOOLDIR=${MOSMLHOME}/tools
-# LIBDIR=${MOSMLHOME}/lib/moscow_ml
-# TOOLDIR=${MOSMLHOME}/libexec/moscow_ml
-+# LIBDIR=${MOSMLHOME}/lib
-+# TOOLDIR=${MOSMLHOME}/tools
++#LIBDIR=${MOSMLHOME}/lib
++INCDIR=${MOSMLHOME}/include/moscow_ml
++DOCDIR=${MOSMLHOME}/share/doc/moscow_ml
++#TOOLDIR=${MOSMLHOME}/tools
+LIBDIR=${MOSMLHOME}/lib/moscow_ml
+TOOLDIR=${MOSMLHOME}/libexec/moscow_ml
diff --git a/lang/moscow_ml/patches/patch-ab b/lang/moscow_ml/patches/patch-ab
new file mode 100644
index 00000000000..d4b0327271f
--- /dev/null
+++ b/lang/moscow_ml/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.5 2000/08/23 21:57:58 tron Exp $
+
+--- Makefile.orig Tue Jul 18 16:16:44 2000
++++ Makefile Wed Aug 23 23:43:08 2000
+@@ -58,7 +58,7 @@
+ cd compiler; make install
+ cd toolssrc; make install
+ cd lex; make install
+- (cd $(INCDIR)/..; rm -f config; ln -s include config)
++ (cd $(INCDIR); rm -f config; ln -s . config)
+ cd doc; make install
+
+ # Remove all generated files
diff --git a/lang/moscow_ml/patches/patch-ac b/lang/moscow_ml/patches/patch-ac
new file mode 100644
index 00000000000..fba60009674
--- /dev/null
+++ b/lang/moscow_ml/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.5 2000/08/23 21:57:59 tron Exp $
+
+--- runtime/Makefile.orig Tue Jul 18 16:16:44 2000
++++ runtime/Makefile Wed Aug 23 22:57:02 2000
+@@ -47,7 +47,7 @@
+
+ install:
+ ${INSTALL_PROGRAM} camlrunm$(EXE) $(BINDIR)
+- ${INSTALL_PROGRAM} *.h $(INCDIR)
++ ${INSTALL_DATA} *.h $(INCDIR)
+
+ primitives : $(PRIMS)
+ sed -n -e '/\/\* ML \*\//s/.* \([a-zA-Z0-9_][a-zA-Z0-9_]*\) *(.*/\1/p' \
diff --git a/lang/moscow_ml/patches/patch-ad b/lang/moscow_ml/patches/patch-ad
new file mode 100644
index 00000000000..27d3df680da
--- /dev/null
+++ b/lang/moscow_ml/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.5 2000/08/23 21:57:59 tron Exp $
+
+--- config/Makefile.orig Wed Feb 16 16:36:57 2000
++++ config/Makefile Wed Aug 23 22:57:49 2000
+@@ -4,7 +4,7 @@
+ @echo "Run 'sh autoconf' or 'sh autoconf gcc' or ..."
+
+ install:
+- $(INSTALL_PROGRAM) m.h s.h $(INCDIR)
++ $(INSTALL_DATA) m.h s.h $(INCDIR)
+
+ clean scratch:
+ rm -f m.h s.h