1 Do not symlink to a host directory
3 The installation of xcursor-transparent-theme creates many symbolic
4 links to the 'transp' cursor file, but it does so using an absolute
5 directory, that happens to point to the installation location, which
6 is incorrect when cross-compiling.
8 Also add the -f option so that the package can be reinstalled even if
9 it has already been installed.
11 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 Index: b/cursors/Makefile.am
14 ===================================================================
15 --- a/cursors/Makefile.am
16 +++ b/cursors/Makefile.am
18 $(INSTALL_DATA) $(CURSOR_REAL) $(DESTDIR)$(CURSOR_DIR)/
19 for CURSOR in $(CURSOR_NAMES); do \
20 echo '-- Installing cursor '$$CURSOR; \
21 - ln -s $(DESTDIR)$(CURSOR_DIR)/transp $(DESTDIR)$(CURSOR_DIR)/$$CURSOR; \
22 + ln -sf transp $(DESTDIR)$(CURSOR_DIR)/$$CURSOR; \
25 Index: b/cursors/Makefile.in
26 ===================================================================
27 --- a/cursors/Makefile.in
28 +++ b/cursors/Makefile.in
30 $(INSTALL_DATA) $(CURSOR_REAL) $(DESTDIR)$(CURSOR_DIR)/
31 for CURSOR in $(CURSOR_NAMES); do \
32 echo '-- Installing cursor '$$CURSOR; \
33 - ln -s $(DESTDIR)$(CURSOR_DIR)/transp $(DESTDIR)$(CURSOR_DIR)/$$CURSOR; \
34 + ln -sf transp $(DESTDIR)$(CURSOR_DIR)/$$CURSOR; \
37 # Tell versions [3.59,3.63) of GNU make to not export all variables.