summaryrefslogtreecommitdiff
path: root/www/webcrawl/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/webcrawl/files/patch-Makefile')
-rw-r--r--www/webcrawl/files/patch-Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/www/webcrawl/files/patch-Makefile b/www/webcrawl/files/patch-Makefile
new file mode 100644
index 000000000000..8b0898d6ae4e
--- /dev/null
+++ b/www/webcrawl/files/patch-Makefile
@@ -0,0 +1,23 @@
+--- Makefile.orig Fri Apr 30 03:02:34 1999
++++ Makefile Sun Feb 6 22:25:51 2000
+@@ -2,15 +2,18 @@
+ INSTDIR=/usr/local/bin
+ MAN=/usr/local/man
+
++CC ?= gcc
++CFLAGS ?= -O2
++
+ webcrawl: $(OBJ)
+- gcc -o webcrawl $(OBJ)
++ $(CC) -o webcrawl $(OBJ)
+ clean:
+ rm -f *.o *~ webcrawl
+ install: webcrawl
+ install webcrawl $(INSTDIR)
+ install webcrawl.1 $(MAN)/man1
+ .c.o:
+- gcc -Wall -c $*.c
++ $(CC) ${CFLAGS} -Wall -c $*.c
+
+ webcrawl.o: webcrawl.c web.h
+ http.o: http.c web.h