summaryrefslogtreecommitdiff
path: root/www/webcrawl/files/patch-Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 15:49:46 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 15:49:46 +0000
commit5fef74e277a1a8631418cc86635c091fcc79d099 (patch)
tree1f91b768812d879efc689dc94c0aa53e7c1ba2fa /www/webcrawl/files/patch-Makefile
parent- Add LICENSE (diff)
Rename www/ patch-xy patches to reflect the files they modify.
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