summaryrefslogtreecommitdiff
path: root/lang/moscow_ml/patches/patch-aa
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2000-04-05 08:44:59 +0000
committerjdolecek <jdolecek@pkgsrc.org>2000-04-05 08:44:59 +0000
commit9fe36dec5de179e47440f92345a8f3e111188aa5 (patch)
tree818d6fe556a6fd3bc5b4980aa4fa75c275e28d63 /lang/moscow_ml/patches/patch-aa
parent4b1b531b17d951596120ad96dbfd5219faf0939d (diff)
downloadpkgsrc-9fe36dec5de179e47440f92345a8f3e111188aa5.tar.gz
Update to moscow_ml-1.44. Changes in 1.44 (from pkg README):
* Access to GNU gdbm persistent hashtables (structures Gdbm, Polygdbm) * Interface to the PostgreSQL database server (structure Postgres) * Interface to the MySQL database server (structure Mysql) * Interface to POSIX 1003.2 regular expressions (structure Regex) * Interface to sockets (structure Socket) * Faster bytecode execution (when compiled with GCC or egcs) * Registration of ML and C functions simplify callbacks Apparently the NetBSD patches were also pulled up. Since the distfile on the original site was updated without version indication, this also fixes kern/9783.
Diffstat (limited to 'lang/moscow_ml/patches/patch-aa')
-rw-r--r--lang/moscow_ml/patches/patch-aa62
1 files changed, 34 insertions, 28 deletions
diff --git a/lang/moscow_ml/patches/patch-aa b/lang/moscow_ml/patches/patch-aa
index 04e208a1724..72bb20ee4d6 100644
--- a/lang/moscow_ml/patches/patch-aa
+++ b/lang/moscow_ml/patches/patch-aa
@@ -1,54 +1,60 @@
-$NetBSD: patch-aa,v 1.3 1998/12/04 11:09:46 frueauf Exp $
-
---- Makefile.inc.orig Mon Apr 20 11:52:39 1998
-+++ Makefile.inc Thu Dec 3 04:05:44 1998
-@@ -2,20 +2,34 @@
+--- Makefile.inc.orig Wed Aug 4 17:40:24 1999
++++ Makefile.inc Wed Apr 5 10:05:09 2000
+@@ -2,20 +2,20 @@
# Where to install stuff
-MOSMLHOME=${HOME}/mosml
+MOSMLHOME=${PREFIX}
-+
-+# Various utility programs
-+INSTALL_PROGRAM=cp
-+INSTALL_SCRIPT=cp
-+INSTALL_DATA=cp
+
+ # Various utility programs
+ INSTALL_PROGRAM=cp
+ INSTALL_SCRIPT=cp
+ INSTALL_DATA=cp
+-PERL=perl
+PERL=${LOCALBASE}/bin/perl
# To compile the runtime system camlrunm with support for
# dynamically loadable libraries (DDLs), uncomment these:
--# ADDPRIMS=dynlib.c
--# ADDOBJS=dynlib.o
-+ADDPRIMS=dynlib.c
-+ADDOBJS=dynlib.o
- # ADDLIBS=-ldl
- # ADDCFLAGS=-rdynamic
-
-+# For NetBSD, use:
+ ADDPRIMS=dynlib.c
+ ADDOBJS=dynlib.o
+-ADDRUNLIBS=-ldl
++# ADDRUNLIBS=-ldl
+ ADDRUNCFLAGS=
+ ADDDYNLIBCFLAGS=
+
+@@ -26,13 +26,13 @@ LD=gcc -rdynamic
+ DYNLD=ld -shared
+
+ # For NetBSD, use instead:
+-# CPP=/usr/bin/cpp -P -traditional -Dunix -Umsdos
+-# STRIP=/usr/bin/strip
+-# ADDRUNCFLAGS=-fPIC
+-# ADDDYNLIBCFLAGS=-fPIC
+-# INSTALL_PROGRAM=${BSD_INSTALL_PROGRAM}
+-# INSTALL_SCRIPT=${BSD_INSTALL_SCRIPT}
+-# INSTALL_DATA=${BSD_INSTALL_DATA}
+CPP=/usr/bin/cpp -P -traditional -Dunix -Umsdos
+STRIP=/usr/bin/strip
-+ADDCFLAGS=-fPIC
++ADDRUNCFLAGS=-fPIC
++ADDDYNLIBCFLAGS=-fPIC
+INSTALL_PROGRAM=${BSD_INSTALL_PROGRAM}
+INSTALL_SCRIPT=${BSD_INSTALL_SCRIPT}
+INSTALL_DATA=${BSD_INSTALL_DATA}
-+
- # For Linux, use:
--CPP=/lib/cpp -P -traditional -Dunix -Umsdos
--STRIP=strip
--DYNLD=ld -shared
-+#CPP=/lib/cpp -P -traditional -Dunix -Umsdos
-+#STRIP=strip
-+#DYNLD=ld -shared
# For Solaris 2 (not SunOS 4), use instead:
# CPP=/usr/ccs/lib/cpp -P -Dunix -Umsdos
-@@ -41,8 +55,8 @@
+@@ -68,10 +68,10 @@ SHELL=/bin/sh
# LIBDIR contains bytecode files (such as mosmlcmp and library units)
BINDIR=${MOSMLHOME}/bin
-LIBDIR=${MOSMLHOME}/lib
-TOOLDIR=${MOSMLHOME}/tools
+-# LIBDIR=${MOSMLHOME}/lib/moscow_ml
+-# TOOLDIR=${MOSMLHOME}/libexec/moscow_ml
++# LIBDIR=${MOSMLHOME}/lib
++# TOOLDIR=${MOSMLHOME}/tools
+LIBDIR=${MOSMLHOME}/lib/moscow_ml
+TOOLDIR=${MOSMLHOME}/libexec/moscow_ml