summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/mingw-runtime/files/mingw-runtime-3.12-DESTDIR.patch')
-rw-r--r--dev-util/mingw-runtime/files/mingw-runtime-3.12-DESTDIR.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-util/mingw-runtime/files/mingw-runtime-3.12-DESTDIR.patch b/dev-util/mingw-runtime/files/mingw-runtime-3.12-DESTDIR.patch
new file mode 100644
index 000000000000..bf31c9c248bf
--- /dev/null
+++ b/dev-util/mingw-runtime/files/mingw-runtime-3.12-DESTDIR.patch
@@ -0,0 +1,22 @@
+--- Makefile.in
++++ Makefile.in
+@@ -58,6 +58,11 @@
+ inst_libdir:=$(libdir)
+ inst_docdir:=$(prefix)/doc/mingw-runtime
+ endif
++inst_bindir:=$(DESTDIR)$(inst_bindir)
++inst_includedir:=$(DESTDIR)$(inst_includedir)
++inst_libdir:=$(DESTDIR)$(inst_libdir)
++inst_docdir:=$(DESTDIR)$(inst_docdir)
++mandir:=$(DESTDIR)$(mandir)
+
+ # The Mingw headers are installed under a subdirectory of
+ # $(tooldir)/include when configuring in Cygwin.
+@@ -199,6 +199,6 @@
+ all_dlls_host: $(DLLS)
+
+-install_dlls_host:
++install_dlls_host: install-dirs
+ for i in $(DLLS); do \
+ $(INSTALL_PROGRAM) $$i $(inst_bindir)/$$i ; \
+ done