mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
6f1cbeb1a9
PR: 28764 Submitted by: Patrick Li <pat@databits.net>
22 lines
576 B
Plaintext
22 lines
576 B
Plaintext
--- src/Makefile.orig Fri Jul 6 02:33:08 2001
|
|
+++ src/Makefile Fri Jul 6 05:14:05 2001
|
|
@@ -17,14 +17,15 @@
|
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
PROG= cksfv
|
|
-CFLAGS+= -Wall -Werror -O2 -g
|
|
+CC?= gcc
|
|
+CFLAGS+= -Wall -g
|
|
SRCS= cksfv.c print.c crc32.c readsfv.c newsfv.c
|
|
|
|
cksfv: $(SRCS)
|
|
- gcc -DVERSION=\"$(VERSION)\" $(CFLAGS) -o $(PROG) $(SRCS)
|
|
+ $(CC) -DVERSION=\"$(VERSION)\" $(CFLAGS) -o $(PROG) $(SRCS)
|
|
|
|
install: cksfv
|
|
- cp $(PROG) /usr/local/bin
|
|
+ $(BSD_INSTALL_PROGRAM) $(PROG) $(PREFIX)/bin
|
|
|
|
clean:
|
|
rm -f *.o *~ *.core core $(PROG)
|