summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/ophcrack/files/ophcrack-3.0.1-makefile.patch')
-rw-r--r--app-crypt/ophcrack/files/ophcrack-3.0.1-makefile.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/app-crypt/ophcrack/files/ophcrack-3.0.1-makefile.patch b/app-crypt/ophcrack/files/ophcrack-3.0.1-makefile.patch
new file mode 100644
index 000000000000..e90726facc04
--- /dev/null
+++ b/app-crypt/ophcrack/files/ophcrack-3.0.1-makefile.patch
@@ -0,0 +1,18 @@
+diff --git a/src/Makefile.in b/src/Makefile.in
+index fcfcdbb..e5bffc4 100644
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -53,10 +53,10 @@ ophcrack: main.o libophcrack.a samdump2/libsamdump2.a
+ # Install target
+ install: all
+ @echo "Creating directories..."
+- $(INSTALL) -d $(bindir)
+-# $(INSTALL) -d $(mandir)
++ $(INSTALL) -d $(DESTDIR)$(bindir)
++# $(INSTALL) -d $(DESTDIR)$(mandir)
+ @echo "Copying binary..."
+- $(INSTALL) ophcrack $(bindir)
++ $(INSTALL) ophcrack $(DESTDIR)$(bindir)
+ # @echo "Installing man page..."
+ # $(INSTALL) ophcrack.1 $(DESTDIR)$(MANDIR)
+ @echo ""