[oe-commits] Richard Purdie : diffstat: Add missing file from previous commit

git version control git at git.openembedded.org
Thu Sep 22 20:29:53 UTC 2011


Module: openembedded-core.git
Branch: 2011-1
Commit: 94bff3e5885cf30464a45609586b141ee2afca1e
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=94bff3e5885cf30464a45609586b141ee2afca1e

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Sep 22 21:27:56 2011 +0100

diffstat: Add missing file from previous commit

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../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 0000000..6685056
--- /dev/null
+++ b/meta/recipes-devtools/diffstat/diffstat/dirfix.patch
@@ -0,0 +1,27 @@
+$libdir isn't used by the Makefile at all apart from in this mkdir.
+This will be used without any DESTDIR so if your libdir is a different
+layout to the bulid system it will cause a failure. E.g:
+
+Build system has /usr/lib only
+libdir = /usr/lib64 for the target
+Results in "mkdir: cannot create directory `/usr/lib64': Permission denied"
+
+Since the directory is never used, we can just remove the mkdir.
+
+Upstream-Status: Pending
+
+RP 23/9/2011
+
+Index: diffstat-1.54/makefile.in
+===================================================================
+--- diffstat-1.54.orig/makefile.in	2011-09-22 19:13:11.330158571 +0100
++++ diffstat-1.54/makefile.in	2011-09-22 19:13:35.610158363 +0100
+@@ -79,7 +79,7 @@
+ 	$(INSTALL_DATA) $(srcdir)/$(THIS).1 $(man1dir)/$(THIS).$(manext)
+ 
+ installdirs :
+-	mkdir -p $(BINDIR) $(libdir) $(man1dir)
++	mkdir -p $(BINDIR) $(man1dir)
+ 
+ uninstall :
+ 	rm -f $(BINDIR)/$(PROG) $(man1dir)/$(THIS).$(manext)





More information about the Openembedded-commits mailing list