2000-10-15 04:23:54 +02:00
|
|
|
$NetBSD: patch-ac,v 1.5 2000/10/15 02:23:56 jlam Exp $
|
|
|
|
|
|
|
|
--- Makefile.in.orig Tue Feb 1 18:22:53 2000
|
|
|
|
+++ Makefile.in
|
1998-12-21 11:45:31 +01:00
|
|
|
@@ -6,7 +6,8 @@
|
|
|
|
##############################################################################
|
|
|
|
##############################################################################
|
|
|
|
#
|
|
|
|
-# XLSLIB -- directory for xlisp executable, startup, example, and help files
|
2000-10-15 04:23:54 +02:00
|
|
|
+# XLSLIB -- directory for xlisp example, and help files
|
|
|
|
+# XLSLIBEXEC -- directory for xlisp executable and startup files
|
1998-12-21 11:45:31 +01:00
|
|
|
# BINDIR -- directory for xlispstat shell script
|
|
|
|
#
|
|
|
|
# For the remaining parameters, if your machine has a subdirectory in the
|
|
|
|
@@ -34,7 +35,8 @@
|
1998-10-03 22:28:08 +02:00
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
|
|
|
-XLSLIB=${prefix}/lib/xlispstat
|
|
|
|
+XLSLIB=${prefix}/share/xlispstat
|
1998-12-21 11:45:31 +01:00
|
|
|
+XLSLIBEXEC=${prefix}/libexec/xlispstat
|
1998-10-03 22:28:08 +02:00
|
|
|
BINDIR=${exec_prefix}/bin
|
|
|
|
|
|
|
|
GRAPHSYS = @GRAPHSYS@
|
1999-01-01 10:03:36 +01:00
|
|
|
@@ -67,11 +69,11 @@
|
1998-12-21 11:58:46 +01:00
|
|
|
.lsp.fsl:
|
|
|
|
echo "(compile-file \"$<\") (exit)" | ./xlisp
|
|
|
|
|
|
|
|
-CFLAGS = -D${GRAPHSYS} ${UCFLAGS} ${X11INCDIR_FLAG}
|
2000-10-15 04:23:54 +02:00
|
|
|
+CFLAGS += -D${GRAPHSYS} ${UCFLAGS} ${X11INCDIR_FLAG} -Dunix=1
|
1998-12-21 11:58:46 +01:00
|
|
|
|
|
|
|
LIBS = ${EXTRALIBS} -lm
|
|
|
|
|
1999-01-01 10:03:36 +01:00
|
|
|
-LDFLAGS = ${ULDFLAGS}
|
2000-10-15 04:23:54 +02:00
|
|
|
+LDFLAGS += ${ULDFLAGS}
|
1999-01-01 10:03:36 +01:00
|
|
|
|
|
|
|
OSOBJS = xsdynload.o xssystem.o unixprim.o
|
|
|
|
|
1998-12-21 11:45:31 +01:00
|
|
|
@@ -118,7 +120,7 @@
|
|
|
|
compiler/assemble.fsl compiler/cmpfront.fsl
|
1998-10-03 22:28:08 +02:00
|
|
|
|
|
|
|
xlispstat: setup.shell xlisp.wks
|
|
|
|
- ./setup.shell xlispstat ${XLSLIB}
|
1998-12-21 11:45:31 +01:00
|
|
|
+ ./setup.shell xlispstat ${XLSLIB} ${XLSLIBEXEC}
|
1998-10-03 22:28:08 +02:00
|
|
|
chmod a+x xlispstat
|
|
|
|
|
|
|
|
xlisp.wks: xlisp ${CMPFSLFILES} ${FSLFILES} ${AUTOFSLFILES}
|
1998-12-21 11:45:31 +01:00
|
|
|
@@ -142,10 +144,10 @@
|
1998-10-03 22:28:08 +02:00
|
|
|
|
|
|
|
installexecs: xlispstat xlisp installdirs
|
|
|
|
-cp xlispstat ${BINDIR}/xlispstat
|
|
|
|
- -cp xlisp ${XLSLIB}
|
1998-12-21 11:45:31 +01:00
|
|
|
+ -cp xlisp ${XLSLIBEXEC}
|
1998-10-03 22:28:08 +02:00
|
|
|
|
|
|
|
installlsp: xlisp.wks xlisp.hlp ${AUTOFSLFILES} ${CMPFSLFILES} installdirs
|
|
|
|
- -cp xlisp.wks ${XLSLIB}
|
1998-12-21 11:45:31 +01:00
|
|
|
+ -cp xlisp.wks ${XLSLIBEXEC}
|
1998-10-03 22:28:08 +02:00
|
|
|
-cp xlisp.hlp ${XLSLIB}
|
|
|
|
-cp Autoload/_autoidx.lsp Autoload/*.fsl ${XLSLIB}/Autoload
|
|
|
|
-cp Data/*.lsp ${XLSLIB}/Data
|
1998-12-21 11:45:31 +01:00
|
|
|
@@ -155,6 +157,7 @@
|
1998-10-03 22:28:08 +02:00
|
|
|
installdirs:
|
|
|
|
-mkdir -p ${BINDIR}
|
|
|
|
-mkdir -p ${XLSLIB}
|
1998-12-21 11:45:31 +01:00
|
|
|
+ -mkdir -p ${XLSLIBEXEC}
|
1998-10-03 22:28:08 +02:00
|
|
|
-mkdir ${XLSLIB}/Data
|
|
|
|
-mkdir ${XLSLIB}/Examples
|
|
|
|
-mkdir ${XLSLIB}/Autoload
|