extras: ci: update Android image and NDK (21)
[vlc.git] / contrib / src / caca / caca-fix-ln-call.patch
blob8b8cb40981959a2ce4de71f2f7eb6eaa8de1172d
1 --- caca/caca/Makefile.am 2018-05-16 16:48:26.720331200 +0200
2 +++ caca/caca/Makefile.am.ln 2018-05-16 16:47:40.299559100 +0200
3 @@ -77,15 +77,15 @@ install-exec-local:
4 $(mkinstalldirs) $(DESTDIR)$(libdir)
5 . ./libcaca.la || exit 1; \
6 for x in $$library_names; do \
7 - ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
8 + $(LN_S)f $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
9 done
10 - ln -sf libcaca.la $(DESTDIR)$(libdir)/libcucul.la
11 + $(LN_S)f libcaca.la $(DESTDIR)$(libdir)/libcucul.la
13 install-data-local:
14 $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
15 - ln -sf caca.pc $(DESTDIR)$(pkgconfigdir)/cucul.pc
16 + $(LN_S)f caca.pc $(DESTDIR)$(pkgconfigdir)/cucul.pc
17 $(mkinstalldirs) $(DESTDIR)$(includedir)
18 - ln -sf caca.h $(DESTDIR)$(includedir)/cucul.h
19 + $(LN_S)f caca.h $(DESTDIR)$(includedir)/cucul.h
21 uninstall-local:
22 . ./libcaca.la || exit 1; \
23 --- caca/cxx/Makefile.am 2018-05-16 16:52:26.779732200 +0200
24 +++ caca/cxx/Makefile.am.ln 2018-05-16 16:51:42.191400000 +0200
25 @@ -26,13 +26,13 @@ install-exec-local:
26 $(mkinstalldirs) $(DESTDIR)$(libdir)
27 . ./libcaca++.la || exit 1; \
28 for x in $$library_names; do \
29 - ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
30 + $(LN_S)f $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
31 done
32 - ln -sf libcaca++.la $(DESTDIR)$(libdir)/libcucul++.la
33 + $(LN_S)f libcaca++.la $(DESTDIR)$(libdir)/libcucul++.la
35 install-data-local:
36 $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
37 - ln -sf caca++.pc $(DESTDIR)$(pkgconfigdir)/cucul++.pc
38 + $(LN_S)f caca++.pc $(DESTDIR)$(pkgconfigdir)/cucul++.pc
39 endif
41 uninstall-local:
42 --- caca/doc/Makefile.am 2018-05-16 16:52:49.359771300 +0200
43 +++ caca/doc/Makefile.am.ln 2018-05-16 16:51:49.010973600 +0200
44 @@ -42,7 +42,7 @@ clean-local:
45 install-data-local:
46 if BUILD_DOCUMENTATION
47 mkdir -p $(DESTDIR)$(datadir)/doc
48 - ln -sf libcaca-dev $(DESTDIR)$(datadir)/doc/libcucul-dev
49 + $(LN_S)f libcaca-dev $(DESTDIR)$(datadir)/doc/libcucul-dev
50 $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/libcaca-dev/html
51 cp `find html -name '*.html' -o -name '*.gif' -o -name '*.png'` \
52 $(DESTDIR)$(datadir)/doc/libcaca-dev/html
53 @@ -54,7 +54,7 @@ if BUILD_DOCUMENTATION
54 endif
55 $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
56 rm -f $(DESTDIR)$(mandir)/man1/cacademo.1
57 - ln -sf cacafire.1 $(DESTDIR)$(mandir)/man1/cacademo.1
58 + $(LN_S)f cacafire.1 $(DESTDIR)$(mandir)/man1/cacademo.1
60 uninstall-local:
61 rm -f $(DESTDIR)$(datadir)/doc/libcucul-dev