summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xcursor-transparent-theme/xcursor-transparent-theme-0.1.1/use-relative-symlinks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/xcursor-transparent-theme/xcursor-transparent-theme-0.1.1/use-relative-symlinks.patch')
-rw-r--r--meta/recipes-graphics/xcursor-transparent-theme/xcursor-transparent-theme-0.1.1/use-relative-symlinks.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xcursor-transparent-theme/xcursor-transparent-theme-0.1.1/use-relative-symlinks.patch b/meta/recipes-graphics/xcursor-transparent-theme/xcursor-transparent-theme-0.1.1/use-relative-symlinks.patch
new file mode 100644
index 0000000000..5028fd6bf1
--- /dev/null
+++ b/meta/recipes-graphics/xcursor-transparent-theme/xcursor-transparent-theme-0.1.1/use-relative-symlinks.patch
@@ -0,0 +1,25 @@
1Use relative symlink for link rather than absolute path which
2doesn't work well in DESTDIR setting.
3
4Also fix out of tree builds to use correct srcdir.
5
6Upstream-Status: Pending
7
8RP 2013/3/8
9
10Index: xcursor-transparent-theme-0.1.1/cursors/Makefile.am
11===================================================================
12--- xcursor-transparent-theme-0.1.1.orig/cursors/Makefile.am 2013-03-07 22:25:03.933435307 +0000
13+++ xcursor-transparent-theme-0.1.1/cursors/Makefile.am 2013-03-07 22:25:27.293434755 +0000
14@@ -88,9 +88,9 @@
15
16 install-data-local:
17 $(mkinstalldirs) $(DESTDIR)$(CURSOR_DIR);
18- $(INSTALL_DATA) $(CURSOR_REAL) $(DESTDIR)$(CURSOR_DIR)/
19+ $(INSTALL_DATA) $(srcdir)/$(CURSOR_REAL) $(DESTDIR)$(CURSOR_DIR)/
20 for CURSOR in $(CURSOR_NAMES); do \
21 echo '-- Installing cursor '$$CURSOR; \
22- ln -s $(DESTDIR)$(CURSOR_DIR)/transp $(DESTDIR)$(CURSOR_DIR)/$$CURSOR; \
23+ ln -s transp $(DESTDIR)$(CURSOR_DIR)/$$CURSOR; \
24 done
25