diff options
author | kris <kris@FreeBSD.org> | 2000-02-07 15:01:55 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-02-07 15:01:55 +0800 |
commit | 124c65a1b3b133839eb776564b3a3944845a4d57 (patch) | |
tree | 0265c569365f799ef35aaa3c21def61f7cdc258c /www/webcrawl | |
parent | 970fa1982c2d87a2dff79bf5d8f485ca31e37df5 (diff) | |
download | freebsd-ports-gnome-124c65a1b3b133839eb776564b3a3944845a4d57.tar.gz freebsd-ports-gnome-124c65a1b3b133839eb776564b3a3944845a4d57.tar.zst freebsd-ports-gnome-124c65a1b3b133839eb776564b3a3944845a4d57.zip |
Respect CC and CFLAGS
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 |