summaryrefslogtreecommitdiff
path: root/www/analog/files
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1999-05-19 21:33:55 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1999-05-19 21:33:55 +0000
commit915d8e6adca0d9d3eb79235f3587efb97db466bd (patch)
tree0d987d50c8a5e708bbfae5f15c727d5b208e48ac /www/analog/files
parentCope with Fortify 1.4.2. (diff)
upgrade to 3.3
Notes
Notes: svn path=/head/; revision=18894
Diffstat (limited to 'www/analog/files')
-rw-r--r--www/analog/files/patch-aa32
1 files changed, 19 insertions, 13 deletions
diff --git a/www/analog/files/patch-aa b/www/analog/files/patch-aa
index d970227f9d01..31946897109a 100644
--- a/www/analog/files/patch-aa
+++ b/www/analog/files/patch-aa
@@ -1,20 +1,26 @@
---- Makefile.orig Sat Nov 7 00:27:05 1998
-+++ Makefile Tue Jan 19 21:21:20 1999
+--- Makefile.orig Wed May 19 15:07:25 1999
++++ Makefile Wed May 19 23:53:39 1999
@@ -2,10 +2,11 @@
# Please read docs/Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different
# compilers need different CFLAGS, e.g., -O instead of -O2.
--CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
-+#CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
- # HP/UX cc needs -Aa (HP/UX 9) or -Ae (HP/UX 10)
- # Some Linuces might need -I/usr/src/linux/include
--DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT -DNOSTRCMP -DEBCDIC
-+#DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT -DNOSTRCMP -DEBCDIC
+-CEXTRAFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
++#CEXTRAFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
+ # HP/UX cc requires CEXTRAFLAGS = -Aa (HP/UX 9) or ...
+ # -Ae (HP/UX 10); BS2000/OSD requires -XLLML -XLLMK
+-DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT -DNOOPEN -DEBCDIC ...
++#DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT -DNOOPEN -DEBCDIC ...
+DEFS = -DPREFIX=\"$(PREFIX)\"
- # Solaris 2 (SunOS 5) might need DEFS = -DNOSTRCMP
- OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC, OS2, VMS
- # RISCOS, BEOS, BS2000
-@@ -27,6 +28,8 @@
+ # ... -DNEED_STRCMP -DNEED_MEMMOVE -DNEED_STRTOUL ...
+ # ... -DNEED_DIFFTIME -DNEED_FLOATINGPOINT_H
+ # Solaris 2 (SunOS 5) might need DEFS = -DNEED_STRCMP
+@@ -25,11 +26,13 @@
+ macinput.o macstuff.o output.o output2.o process.o settings.o \
+ sort.o tree.o utils.o win32.o
+ HEADERS = analhead.h analhea2.h macdir.h
+-CFLAGS = $(CEXTRAFLAGS) $(DEFS) -D$(OS)
++CFLAGS += $(CEXTRAFLAGS) $(DEFS) -D$(OS)
+
# Form interface options:
FORMPROG = anlgform.cgi # The program that processes the data from the form
FORMSRC = anlgform.c # The source code for that program
@@ -22,4 +28,4 @@
+all: $(PROGRAM)
$(PROGRAM): $(OBJS) $(HEADERS) Makefile
- $(CC) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)
+ $(CC) $(CEXTRAFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)