diff options
Diffstat (limited to 'mingw-w64-libgnurx-honor-destdir.patch')
-rw-r--r-- | mingw-w64-libgnurx-honor-destdir.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mingw-w64-libgnurx-honor-destdir.patch b/mingw-w64-libgnurx-honor-destdir.patch new file mode 100644 index 000000000000..2a2e879f4a9c --- /dev/null +++ b/mingw-w64-libgnurx-honor-destdir.patch @@ -0,0 +1,26 @@ +--- Makefile.in.orig 2009-05-24 20:09:25.598720854 +0200 ++++ Makefile.in 2009-05-24 20:10:24.541471779 +0200 +@@ -78,16 +78,16 @@ + install: install-dll @install_dev@ + + install-dll: +- mkdir -p ${bindir} +- cp -p $(BINDIST_FILES) ${bindir} ++ mkdir -p $(DESTDIR)${bindir} ++ cp -p $(BINDIST_FILES) $(DESTDIR)${bindir} + + install-dev: +- mkdir -p ${includedir} ${libdir} +- cp -p ${srcdir}/regex.h ${includedir} +- cp -p $(DEVDIST_FILES) ${libdir} ++ mkdir -p ${includedir} $(DESTDIR)${libdir} ++ cp -p ${srcdir}/regex.h $(DESTDIR)${includedir} ++ cp -p $(DEVDIST_FILES) $(DESTDIR)${libdir} + for s in 3 7; do \ +- mkdir -p ${mandir}/man$$s; \ +- gzip -c ${srcdir}/regex.$$s > ${mandir}/man$$s/regex.$$s.gz; \ ++ mkdir -p $(DESTDIR)${mandir}/man$$s; \ ++ gzip -c ${srcdir}/regex.$$s > $(DESTDIR)${mandir}/man$$s/regex.$$s.gz; \ + done + + dist: bindist devdist srcdist |