1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/security/cksfv/files/patch-src-Makefile
Kevin Lo b714c1cd4c Update to 1.2
PR: 24038
Submitted by: MAINTAINER
2001-01-03 10:20:37 +00:00

21 lines
557 B
Plaintext

--- src/Makefile.orig Fri Dec 29 02:34:33 2000
+++ src/Makefile Wed Jan 3 11:28:07 2001
@@ -17,14 +17,15 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
PROG= cksfv
+CC?= gcc
CFLAGS+= -Wall -Werror -O2 -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)