6f7b0a0bc5
Based on PR pkg/42846 Changelog: CHANGES FROM 2.40 to 2.50 * Bug fixes * New compilation procedure for MVS and CMS CHANGES FROM 2.30 to 2.40 * Bug fixes from Bill Chatfield * Updated documentation * Added support for compiling on CMS (another IBM mainframe OS) CHANGES FROM 2.20pl2 to 2.30 * Minor bug fixes, cosmetic improvements and portability improvements * Added support for compiling on MVS (IBM mainframe) Tested on NetBSD/i3865.99.59 and 5.1.
27 lines
616 B
Text
27 lines
616 B
Text
$NetBSD: patch-aa,v 1.4 2012/01/15 15:29:31 ryoon Exp $
|
|
|
|
--- Makefile.in.orig 2009-06-04 12:50:16.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
|
|
@@ -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
|