File: 01-Fix-make-shuffle-reverse-failure.patch

package info (click to toggle)
libdatrie 0.2.13-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,172 kB
  • sloc: sh: 4,337; ansic: 4,282; makefile: 205
file content (21 lines) | stat: -rw-r--r-- 631 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Theppitak Karoonboonyanan <theppitak@gmail.com>
Subject: Fix "make --shuffle=reverse" failure.
Origin: backport, https://github.com/tlwg/libdatrie/commit/2d8744283f0a8055ccd3c8d26be04bbce22a0870
Bug-Debian: https://bugs.debian.org/1105545

See Debian #1105545 for the report.

* tools/Makefile.am:
  - Make sure $(bindir) exists before installing old program
    symlink.

--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -10,6 +10,7 @@
 OLD_PROG_NAME=trietool-0.2
 
 install-data-hook:
+	$(MKDIR_P) $(DESTDIR)$(bindir)
 	rm -f $(DESTDIR)$(bindir)/$(OLD_PROG_NAME)
 	$(LN_S) trietool $(DESTDIR)$(bindir)/$(OLD_PROG_NAME)