1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-07 22:58:11 +00:00
freebsd-ports/www/analog/files/patch-aa
1996-08-04 14:11:44 +00:00

32 lines
1.3 KiB
Plaintext

--- Makefile.orig Sun Aug 4 09:19:11 1996
+++ Makefile Sun Aug 4 09:20:41 1996
@@ -2,7 +2,7 @@
# Please read Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
CC = gcc # which compiler to use. 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.
DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT
OS = UNIX # Operating system: UNIX, DOS, MAC or VMS
LIBS = -lm # extra libraries needed; Solaris 2 (SunOS 5) needs
@@ -21,6 +21,8 @@
FORMSRC = analform.c # The source code for that program
FORMHTML = analogform.html # Where the form itself will go
FORMOPTS = # Extra analog options when constructing the form
+
+all: $(PROGRAM)
$(PROGRAM): $(OBJS) $(HEADERS) Makefile
$(CC) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)
--- analform.c.orig Sat Jul 13 14:47:55 1996
+++ analform.c Sun Aug 4 09:16:42 1996
@@ -11,7 +11,7 @@
/* You must change the next line to indicate where the analog program lives */
-#define COMMAND "/usr/local/etc/httpd/analog/analog"
+#define COMMAND "/usr/local/bin/analog"
#define MAXARGLENGTH (2048) /* should be plenty */
#define OK (0)
#define ERR (-1)