summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/findutils/findutils-4.2.29/mkinstalldirs.patch14
-rw-r--r--packages/findutils/findutils_4.2.29.bb2
2 files changed, 16 insertions, 0 deletions
diff --git a/packages/findutils/findutils-4.2.29/mkinstalldirs.patch b/packages/findutils/findutils-4.2.29/mkinstalldirs.patch
new file mode 100644
index 0000000000..e82380b1b2
--- /dev/null
+++ b/packages/findutils/findutils-4.2.29/mkinstalldirs.patch
@@ -0,0 +1,14 @@
+Index: findutils-4.2.29/po/Makefile.in.in
+===================================================================
+--- findutils-4.2.29.orig/po/Makefile.in.in 2008-11-01 22:45:48.466060774 +0100
++++ findutils-4.2.29/po/Makefile.in.in 2008-11-01 22:46:18.000751035 +0100
+@@ -29,8 +29,7 @@
+
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
+-MKINSTALLDIRS = @MKINSTALLDIRS@
+-mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+
+ GMSGFMT = @GMSGFMT@
+ MSGFMT = @MSGFMT@
diff --git a/packages/findutils/findutils_4.2.29.bb b/packages/findutils/findutils_4.2.29.bb
index d2718785c9..6de63af151 100644
--- a/packages/findutils/findutils_4.2.29.bb
+++ b/packages/findutils/findutils_4.2.29.bb
@@ -1,5 +1,7 @@
require findutils.inc
+SRC_URI += "file://mkinstalldirs.patch;patch=1"
+
EXTRA_OECONF += " ac_cv_path_SORT=/usr/bin/sort "
pkg_postinst_${PN} () {