diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-22 21:27:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-22 22:23:36 +0100 |
commit | 0b9bd3c99450bba79431d69e8bfdd4fe5168d55c (patch) | |
tree | 9a9ce7abf10bc04b0fc5eba047b87d0a7eca07ff /meta/recipes-devtools | |
parent | 824b0140592ac105b7440c94a2cef76f0ffe459f (diff) | |
download | poky-0b9bd3c99450bba79431d69e8bfdd4fe5168d55c.tar.gz |
diffstat: Add missing file from previous commit
(From OE-Core rev: 6f4e6d6d41f874844b186b9e5b63a1b851becb52)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/diffstat/diffstat/dirfix.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/diffstat/diffstat/dirfix.patch b/meta/recipes-devtools/diffstat/diffstat/dirfix.patch new file mode 100644 index 0000000000..6685056333 --- /dev/null +++ b/meta/recipes-devtools/diffstat/diffstat/dirfix.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | $libdir isn't used by the Makefile at all apart from in this mkdir. | ||
2 | This will be used without any DESTDIR so if your libdir is a different | ||
3 | layout to the bulid system it will cause a failure. E.g: | ||
4 | |||
5 | Build system has /usr/lib only | ||
6 | libdir = /usr/lib64 for the target | ||
7 | Results in "mkdir: cannot create directory `/usr/lib64': Permission denied" | ||
8 | |||
9 | Since the directory is never used, we can just remove the mkdir. | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | |||
13 | RP 23/9/2011 | ||
14 | |||
15 | Index: diffstat-1.54/makefile.in | ||
16 | =================================================================== | ||
17 | --- diffstat-1.54.orig/makefile.in 2011-09-22 19:13:11.330158571 +0100 | ||
18 | +++ diffstat-1.54/makefile.in 2011-09-22 19:13:35.610158363 +0100 | ||
19 | @@ -79,7 +79,7 @@ | ||
20 | $(INSTALL_DATA) $(srcdir)/$(THIS).1 $(man1dir)/$(THIS).$(manext) | ||
21 | |||
22 | installdirs : | ||
23 | - mkdir -p $(BINDIR) $(libdir) $(man1dir) | ||
24 | + mkdir -p $(BINDIR) $(man1dir) | ||
25 | |||
26 | uninstall : | ||
27 | rm -f $(BINDIR)/$(PROG) $(man1dir)/$(THIS).$(manext) | ||