summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/grsync/files/grsync-0.3.2-destdir.patch')
-rw-r--r--x11-misc/grsync/files/grsync-0.3.2-destdir.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11-misc/grsync/files/grsync-0.3.2-destdir.patch b/x11-misc/grsync/files/grsync-0.3.2-destdir.patch
new file mode 100644
index 000000000000..0c788d9f8f00
--- /dev/null
+++ b/x11-misc/grsync/files/grsync-0.3.2-destdir.patch
@@ -0,0 +1,24 @@
+--- Makefile.in 2006-04-11 20:51:00.437529750 +0200
++++ Makefile.in 2006-04-11 20:54:18.821928000 +0200
+@@ -692,10 +692,10 @@
+ install-data-local:
+ @$(NORMAL_INSTALL)
+ if test -d $(srcdir)/pixmaps; then \
+- $(mkinstalldirs) $(datadir)/pixmaps; \
++ $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps; \
+ for pixmap in $(srcdir)/pixmaps/*; do \
+ if test -f $$pixmap; then \
+- $(INSTALL_DATA) $$pixmap $(datadir)/pixmaps; \
++ $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps; \
+ fi \
+ done \
+ fi
+@@ -705,7 +705,7 @@
+ mkdir $(distdir)/pixmaps; \
+ for pixmap in pixmaps/*; do \
+ if test -f $$pixmap; then \
+- cp -p $$pixmap $(distdir)/pixmaps; \
++ cp -p $$pixmap $(DESTDIR)$(distdir)/pixmaps; \
+ fi \
+ done \
+ fi