Debian Codegraph @

debian/patches/0035-compile-unix.mak-add-install-dependency-on-dictdir-d.patch

raw
1 From 88a1ed71a637faa6ec4eeb7e2b2f0a9f597a4812 Mon Sep 17 00:00:00 2001
2 From: Sergei Trofimovich <[email protected]>
3 Date: Wed, 22 Jun 2022 22:10:42 +0100
4 Subject: [PATCH 35/36] compile/unix.mak: add install dependency on $(dictdir)
5 directory
6
7 Without this change parallel install fails occasionally when
8 $(dictdir) is not yet present:
9
10 gcc -o build/cmigemo ./build/object/main.o -L. -L./build/ -lmigemo -Wl,-rpath,.,-rpath,/usr/local/lib,-rpath,/usr/lib
11 install -m 644 dict/migemo-dict ...-cmigemo-1.3e/share/migemo/cp932
12 install: cannot create regular file '...-cmigemo-1.3e/share/migemo/cp932': No such file or directory
13 make[1]: *** [compile/unix.mak:49: install-dict] Error 1 shuffle=1655931959
14 ---
15 compile/unix.mak | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/compile/unix.mak b/compile/unix.mak
19 index 8cf525a..cb6bd8f 100644
20 --- a/compile/unix.mak
21 +++ b/compile/unix.mak
22 @@ -45,7 +45,7 @@ install-mkdir:
23 $(MKDIR) $(dictdir)/euc-jp
24 $(MKDIR) $(dictdir)/utf-8
25
26 -install-dict:
27 +install-dict: install-mkdir
28 $(INSTALL_DATA) dict/migemo-dict $(dictdir)/cp932
29 $(INSTALL_DATA) dict/han2zen.dat $(dictdir)/cp932
30 $(INSTALL_DATA) dict/hira2kata.dat $(dictdir)/cp932
31 --
32 2.39.2
33