1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/misc/dog/files/patch-aa
Will Andrews a01d4b6f71 Add dog, an "enhanced" cat that supports reading from URL's.
PR:		18571
Submitted by:	Dan Piponi <dan@tanelorn.demon.co.uk>
2000-06-10 05:45:34 +00:00

25 lines
494 B
Plaintext

--- Makefile Tue Jul 13 14:32:24 1999
+++ Makefile.new Sat Jun 10 01:27:09 2000
@@ -13,17 +13,18 @@
INSTALL = /usr/bin/install -c
OBJS = dog.o getopt.o getopt1.o
-CFLAGS = -O3 -Wall
+CC ?= cc
+CFLAGS ?= -O -pipe
prefix = /usr/local
bindir = ${prefix}/bin
mandir = ${prefix}/man
%.o: %.c
- gcc ${CFLAGS} -c $< -o $@
+ $(CC) ${CFLAGS} -c $< -o $@
dog: ${OBJS}
- gcc ${CFLAGS} -o dog ${OBJS}
+ $(CC) ${CFLAGS} -o dog ${OBJS}
install: dog
$(INSTALL) -m 644 dog.1 ${mandir}/man1