1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/security/cksfv/files/patch-src-Makefile
James E. Housley b121518905 New Port: security/cksfv
Create or manipulate Simple File Verification (SFV) checksum files

PR:		22075
Submitted by:	Johann Visagie <johann@egenetics.com>
2000-10-28 12:44:15 +00:00

21 lines
499 B
Plaintext

--- src/Makefile.orig Mon May 22 23:57:05 2000
+++ src/Makefile Wed Oct 18 10:14:25 2000
@@ -17,14 +17,15 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
PROG= cksfv
+CC?= gcc
CFLAGS+= -Wall -Werror -O2
SRCS= cksfv.c print.c crc32.c readsfv.c newsfv.c
cksfv: $(SRCS)
- gcc $(CFLAGS) -o $(PROG) $(SRCS)
+ $(CC) $(CFLAGS) -o $(PROG) $(SRCS)
install: cksfv
- cp $(PROG) /usr/local/bin
+ $(BSD_INSTALL_PROGRAM) $(PROG) $(PREFIX)/bin
clean:
rm -f *.o *~ *.core $(PROG)