summaryrefslogtreecommitdiffstats
path: root/security/mdcrack/files/patch-Makefile
blob: 9e5f829f47e5f1728bd8a819bb06357057b9d35f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- 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 "-*-*-*-*-*-*-*-*-*-*-*-*-*-*-"
OpenPOWER on IntegriCloud