freebsd-ports/security/mdcrack/files/patch-Makefile

36 lines
978 B
Text
Raw Normal View History

--- Makefile.orig Thu Aug 16 06:47:34 2001
+++ Makefile Tue Jan 15 22:47:26 2002
@@ -10,7 +10,7 @@
2001-07-16 06:31:24 +02:00
-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
2001-07-16 06:31:24 +02:00
#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 @@
2001-07-16 06:31:24 +02:00
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
2014-02-06 08:22:34 +01:00
+ @echo -n "Installing mdcrack in $(DESTDIR)${PREFIX}/bin/mdcrack ..... "
+ @cp bin/mdcrack $(DESTDIR)${PREFIX}/bin/mdcrack
2001-07-16 06:31:24 +02:00
@echo "ok."
@echo
@echo "-*-*-*-*-*-*-*-*-*-*-*-*-*-*-"