diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-02-07 07:01:55 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-02-07 07:01:55 +0000 |
commit | 1259d0331daa5e7e69eb57a7066285822b25b83a (patch) | |
tree | 18ef2433e5b8e71e400bb011a68140e8b3d7f078 /www/webcrawl | |
parent | Respect CFLAGS (diff) |
Respect CC and CFLAGS
Notes
Notes:
svn path=/head/; revision=25548
Diffstat (limited to 'www/webcrawl')
-rw-r--r-- | www/webcrawl/files/patch-aa | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/www/webcrawl/files/patch-aa b/www/webcrawl/files/patch-aa index 6009fdc5e02d..8b0898d6ae4e 100644 --- a/www/webcrawl/files/patch-aa +++ b/www/webcrawl/files/patch-aa @@ -1,11 +1,23 @@ ---- Makefile.old Wed Feb 3 15:57:13 1999 -+++ Makefile Wed Feb 3 15:56:34 1999 -@@ -4,7 +4,7 @@ - gcc -o webcrawl $(OBJ) +--- 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 -+ gcc ${CFLAGS} -Wall -c $*.c ++ $(CC) ${CFLAGS} -Wall -c $*.c webcrawl.o: webcrawl.c web.h http.o: http.c web.h |