bf6ed5793c
Upstream changes: CHANGES FROM 3.00 to 3.10 * Implements most of the following BASIC dialects: OPTION VERSION DARTMOUTH ' Dartmouth DTSS BASIC OPTION VERSION MARK-I ' GE 265 Mainframe BASIC OPTION VERSION MARK-II ' GE 435 Mainframe BASIC OPTION VERSION SYSTEM-360 ' IBM System/360 BASIC OPTION VERSION SYSTEM-370 ' IBM System/370 BASIC OPTION VERSION CBASIC-II ' CBASIC-II for CP/M OPTION VERSION ECMA-55 ' ANSI Minimal BASIC OPTION VERSION HANDBOOK1 ' The BASIC Handbook, 1st Edition OPTION VERSION HANDBOOK2 ' The BASIC Handbook, 2nd Edition OPTION VERSION TRS-80 ' TRS-80 Model I/III/4 LBASIC OPTION VERSION BASIC-80 ' Microsoft BASIC-80 for Xenix OPTION VERSION ECMA-116 ' ANSI Full BASIC * from Howard Wulf, AF5NE
48 lines
1.4 KiB
Text
48 lines
1.4 KiB
Text
$NetBSD: patch-aa,v 1.6 2017/01/19 06:48:46 wen Exp $
|
|
|
|
Configure for pkgsrc.
|
|
DESTDIR support.
|
|
|
|
--- Makefile.in.orig 2015-05-12 12:10:34.000000000 +0000
|
|
+++ Makefile.in
|
|
@@ -16,9 +16,10 @@ INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
DEFS = @DEFS@
|
|
|
|
-# Revised by JBV
|
|
-#CFLAGS = -O
|
|
-CFLAGS = -g -ansi
|
|
+# Re-revised by MJS
|
|
+CFLAGS ?= -O
|
|
+CFLAGS += -ansi
|
|
+#CFLAGS = -g -ansi
|
|
|
|
# Revised by JBV
|
|
#LDFLAGS = -s
|
|
@@ -29,13 +30,13 @@ bindir = $(exec_prefix)/bin
|
|
|
|
SHELL = /bin/sh
|
|
|
|
-CFILES= bwbasic.c bwb_cmd.c bwb_cnd.c bwb_dio.c bwb_elx.c\
|
|
- bwb_exp.c bwb_fnc.c bwb_inp.c bwb_int.c bwb_ops.c\
|
|
+CFILES= bwbasic.c bwb_cmd.c bwb_cnd.c bwb_dio.c \
|
|
+ bwb_exp.c bwb_fnc.c bwb_inp.c bwb_int.c \
|
|
bwb_prn.c bwb_stc.c bwb_str.c bwb_tbl.c bwb_var.c\
|
|
bwd_cmd.c bwd_fun.c bwx_tty.c
|
|
|
|
-OFILES= bwbasic.o bwb_cmd.o bwb_cnd.o bwb_dio.o bwb_elx.o\
|
|
- bwb_exp.o bwb_fnc.o bwb_inp.o bwb_int.o bwb_ops.o\
|
|
+OFILES= bwbasic.o bwb_cmd.o bwb_cnd.o bwb_dio.o \
|
|
+ bwb_exp.o bwb_fnc.o bwb_inp.o bwb_int.o \
|
|
bwb_prn.o bwb_stc.o bwb_str.o bwb_tbl.o bwb_var.o\
|
|
bwd_cmd.o bwd_fun.o bwx_tty.o
|
|
|
|
@@ -75,7 +76,7 @@ $(OFILES): $(HFILES)
|
|
$(CC) -c $(CPPFLAGS) -I$(srcdir) $(DEFS) $(CFLAGS) $<
|
|
|
|
install: all
|
|
- $(INSTALL_PROGRAM) bwbasic $(bindir)/bwbasic
|
|
+ $(INSTALL_PROGRAM) bwbasic ${DESTDIR}$(bindir)/bwbasic
|
|
|
|
uninstall:
|
|
rm -f $(bindir)/bwbasic
|