aboutsummaryrefslogtreecommitdiff
path: root/security/bugs/files/patch-Makefile.bsd
diff options
context:
space:
mode:
Diffstat (limited to 'security/bugs/files/patch-Makefile.bsd')
-rw-r--r--security/bugs/files/patch-Makefile.bsd20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/bugs/files/patch-Makefile.bsd b/security/bugs/files/patch-Makefile.bsd
new file mode 100644
index 000000000000..6fbdc0af05c3
--- /dev/null
+++ b/security/bugs/files/patch-Makefile.bsd
@@ -0,0 +1,20 @@
+--- Makefile.bsd.orig 2014-06-10 23:16:23.285874501 +0800
++++ Makefile.bsd 2014-06-10 23:16:59.938863115 +0800
+@@ -77,13 +77,13 @@ lib: testfpost libchoice
+
+ install: instchoice all
+ @echo "Creating directory $(INSTALL_PATH) ..."
+- @mkdir $(INSTALL_PATH)
++ @mkdir $(DESTDIR)$(INSTALL_PATH)
+ @echo "Copying binaries in $(INSTALL_PATH) ..."
+- @cp -f ./bin/* $(INSTALL_PATH)/
++ @cp -f ./bin/* $(DESTDIR)$(INSTALL_PATH)/
+ @echo "Copying bugscrypt.a in $(INSTALL_PATH) ..."
+- @cp -f ./lib/bugscrypt.a $(INSTALL_PATH)/
++ @cp -f ./lib/bugscrypt.a $(DESTDIR)$(INSTALL_PATH)/
+ @echo "Copying docs in $(INSTALL_PATH) ..."
+- @cp -rf ./doc/* $(INSTALL_PATH)/
++ @cp -rf ./doc/* $(DESTDIR)$(INSTALL_PATH)/
+ @echo
+ @echo ------------------------------------------------------------
+ @echo