summarylogtreecommitdiffstats
path: root/mingw-w64-libgnurx-honor-destdir.patch
diff options
context:
space:
mode:
authorxantares2015-06-08 22:54:10 +0200
committerxantares2015-06-08 22:54:10 +0200
commit3a0ccc5fe725c8d4f96694337bcdf886c43c1adf (patch)
tree6a0d71379a2be8f310a5602b8e0414894c38c358 /mingw-w64-libgnurx-honor-destdir.patch
downloadaur-3a0ccc5fe725c8d4f96694337bcdf886c43c1adf.tar.gz
Initial import
Diffstat (limited to 'mingw-w64-libgnurx-honor-destdir.patch')
-rw-r--r--mingw-w64-libgnurx-honor-destdir.patch26
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