2015-12-30 00:34:43 +01:00
|
|
|
$NetBSD: patch-aa,v 1.7 2015/12/29 23:34:52 dholland Exp $
|
|
|
|
|
|
|
|
Configure for pkgsrc.
|
|
|
|
XXX: should not be using LOCALBASE.
|
2000-08-23 23:57:58 +02:00
|
|
|
|
|
|
|
--- Makefile.inc.orig Thu Jun 29 02:28:14 2000
|
|
|
|
+++ Makefile.inc Wed Aug 23 23:39:29 2000
|
2000-04-05 10:44:59 +02:00
|
|
|
@@ -2,20 +2,20 @@
|
1998-02-17 11:18:36 +01:00
|
|
|
|
1998-12-04 12:09:46 +01:00
|
|
|
# Where to install stuff
|
1998-02-17 11:18:36 +01:00
|
|
|
|
|
|
|
-MOSMLHOME=${HOME}/mosml
|
|
|
|
+MOSMLHOME=${PREFIX}
|
2000-04-05 10:44:59 +02:00
|
|
|
|
|
|
|
# Various utility programs
|
|
|
|
INSTALL_PROGRAM=cp
|
|
|
|
INSTALL_SCRIPT=cp
|
|
|
|
INSTALL_DATA=cp
|
|
|
|
-PERL=perl
|
1998-12-04 12:09:46 +01:00
|
|
|
+PERL=${LOCALBASE}/bin/perl
|
1998-02-17 11:18:36 +01:00
|
|
|
|
1998-12-04 12:09:46 +01:00
|
|
|
# To compile the runtime system camlrunm with support for
|
|
|
|
# dynamically loadable libraries (DDLs), uncomment these:
|
|
|
|
|
2000-04-05 10:44:59 +02:00
|
|
|
ADDPRIMS=dynlib.c
|
|
|
|
ADDOBJS=dynlib.o
|
|
|
|
-ADDRUNLIBS=-ldl
|
|
|
|
+# ADDRUNLIBS=-ldl
|
|
|
|
ADDRUNCFLAGS=
|
|
|
|
ADDDYNLIBCFLAGS=
|
|
|
|
|
2000-08-23 23:57:58 +02:00
|
|
|
@@ -45,13 +45,13 @@
|
2000-04-05 10:44:59 +02:00
|
|
|
|
2000-08-23 23:57:58 +02:00
|
|
|
# For NetBSD, use:
|
|
|
|
# ------------------------
|
2000-04-05 10:44:59 +02:00
|
|
|
-# 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}
|
2013-06-14 23:03:14 +02:00
|
|
|
+CPP=cpp -P -traditional -Dunix -Umsdos
|
|
|
|
+STRIP=strip
|
2000-04-05 10:44:59 +02:00
|
|
|
+ADDRUNCFLAGS=-fPIC
|
|
|
|
+ADDDYNLIBCFLAGS=-fPIC
|
1998-12-04 12:09:46 +01:00
|
|
|
+INSTALL_PROGRAM=${BSD_INSTALL_PROGRAM}
|
|
|
|
+INSTALL_SCRIPT=${BSD_INSTALL_SCRIPT}
|
|
|
|
+INSTALL_DATA=${BSD_INSTALL_DATA}
|
1998-02-17 11:18:36 +01:00
|
|
|
|
2000-08-23 23:57:58 +02:00
|
|
|
# For Solaris 2 (not SunOS 4), use:
|
|
|
|
# ---------------------------------
|
|
|
|
@@ -114,12 +114,12 @@
|
|
|
|
# DOCDIR contains documentation
|
1998-02-17 11:18:36 +01:00
|
|
|
|
|
|
|
BINDIR=${MOSMLHOME}/bin
|
|
|
|
-LIBDIR=${MOSMLHOME}/lib
|
2000-08-23 23:57:58 +02:00
|
|
|
-INCDIR=${MOSMLHOME}/include
|
|
|
|
-DOCDIR=${MOSMLHOME}/doc
|
1998-02-17 11:18:36 +01:00
|
|
|
-TOOLDIR=${MOSMLHOME}/tools
|
2000-04-05 10:44:59 +02:00
|
|
|
-# LIBDIR=${MOSMLHOME}/lib/moscow_ml
|
|
|
|
-# TOOLDIR=${MOSMLHOME}/libexec/moscow_ml
|
2000-08-23 23:57:58 +02:00
|
|
|
+#LIBDIR=${MOSMLHOME}/lib
|
|
|
|
+INCDIR=${MOSMLHOME}/include/moscow_ml
|
|
|
|
+DOCDIR=${MOSMLHOME}/share/doc/moscow_ml
|
|
|
|
+#TOOLDIR=${MOSMLHOME}/tools
|
1998-02-17 11:18:36 +01:00
|
|
|
+LIBDIR=${MOSMLHOME}/lib/moscow_ml
|
|
|
|
+TOOLDIR=${MOSMLHOME}/libexec/moscow_ml
|
|
|
|
|
|
|
|
CAMLRT=../runtime
|
|
|
|
|