freebsd-ports/security/mdcrack/files/patch-Makefile
Ying-Chieh Liao 4043a8a117 upgrade to 1.2
fix master site

PR:		33918
Submitted by:	Tilman Linneweh <tilman@arved.de>
2002-01-15 14:48:41 +00:00

36 lines
958 B
Plaintext

--- Makefile.orig Thu Aug 16 06:47:34 2001
+++ Makefile Tue Jan 15 22:47:26 2002
@@ -10,7 +10,7 @@
-CC = gcc
+#CC = gcc
# Please set RESUME_FILE and choose a secure place for the resume file
# before using mdcrack as root.
@@ -47,7 +47,7 @@
BLOCK=-DBLOCKSIZE=50
#full optimization
-CFLAGS = -O3 -fforce-addr -funroll-loops -fomit-frame-pointer -ffast-math
+CFLAGS += -O3 -fforce-addr -funroll-loops -fomit-frame-pointer -ffast-math
@@ -343,12 +343,8 @@
install:
@echo
- @echo -n "Installing mdcrack in /usr/sbin/mdcrack ..... "
- @cp bin/mdcrack /usr/sbin/mdcrack
- @echo "ok."
- @echo
- @echo -n "Installing mdcrack-version in /usr/sbin/mdcrack-version ..... "
- @echo $(CFLAGS) $(NCURSES) $(CPU) $(MDCRACK_OPTS) $(MDARCH) $(BLOCK) > /usr/sbin/mdcrack-version
+ @echo -n "Installing mdcrack in ${PREFIX}/bin/mdcrack ..... "
+ @cp bin/mdcrack ${PREFIX}/bin/mdcrack
@echo "ok."
@echo
@echo "-*-*-*-*-*-*-*-*-*-*-*-*-*-*-"