diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/findutils/findutils-native_4.2.29.bb | 2 | ||||
-rw-r--r-- | meta/packages/findutils/findutils.inc | 3 | ||||
-rw-r--r-- | meta/packages/findutils/findutils/mkdir.patch | 26 | ||||
-rw-r--r-- | meta/packages/findutils/findutils_4.2.29.bb | 10 |
4 files changed, 36 insertions, 5 deletions
diff --git a/meta/packages/findutils/findutils-native_4.2.29.bb b/meta/packages/findutils/findutils-native_4.2.29.bb deleted file mode 100644 index d41baa2c42..0000000000 --- a/meta/packages/findutils/findutils-native_4.2.29.bb +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | require findutils.inc | ||
2 | inherit native | ||
diff --git a/meta/packages/findutils/findutils.inc b/meta/packages/findutils/findutils.inc index e054dd0cc7..b54b09b7b1 100644 --- a/meta/packages/findutils/findutils.inc +++ b/meta/packages/findutils/findutils.inc | |||
@@ -2,7 +2,8 @@ DESCRIPTION = "find, locate, and xargs binaries." | |||
2 | SECTION = "console/utils" | 2 | SECTION = "console/utils" |
3 | LICENSE = "GPL" | 3 | LICENSE = "GPL" |
4 | 4 | ||
5 | SRC_URI = "${GNU_MIRROR}/findutils/findutils-${PV}.tar.gz" | 5 | SRC_URI = "${GNU_MIRROR}/findutils/findutils-${PV}.tar.gz \ |
6 | file://mkdir.patch;patch=1" | ||
6 | 7 | ||
7 | inherit autotools gettext | 8 | inherit autotools gettext |
8 | 9 | ||
diff --git a/meta/packages/findutils/findutils/mkdir.patch b/meta/packages/findutils/findutils/mkdir.patch new file mode 100644 index 0000000000..98ffbd2e72 --- /dev/null +++ b/meta/packages/findutils/findutils/mkdir.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | Index: findutils-4.2.29/configure.in | ||
2 | =================================================================== | ||
3 | --- findutils-4.2.29.orig/configure.in 2006-11-25 18:06:00.000000000 +0000 | ||
4 | +++ findutils-4.2.29/configure.in 2009-08-19 18:01:06.000000000 +0100 | ||
5 | @@ -209,6 +209,8 @@ | ||
6 | dnl Hence they need to know if they are being compiled into findutils or not. | ||
7 | AC_DEFINE([FINDUTILS], 1, [Define if we are compiling GNU findutils]) | ||
8 | |||
9 | +MKINSTALLDIRS="mkdir -p" | ||
10 | +AC_SUBST(MKINSTALLDIRS) | ||
11 | |||
12 | # This is necessary so that .o files in LIBOBJS are also built via | ||
13 | # the ANSI2KNR-filtering rules. | ||
14 | Index: findutils-4.2.29/po/Makefile.in.in | ||
15 | =================================================================== | ||
16 | --- findutils-4.2.29.orig/po/Makefile.in.in 2009-08-19 18:05:47.000000000 +0100 | ||
17 | +++ findutils-4.2.29/po/Makefile.in.in 2009-08-19 18:05:58.000000000 +0100 | ||
18 | @@ -30,7 +30,7 @@ | ||
19 | INSTALL = @INSTALL@ | ||
20 | INSTALL_DATA = @INSTALL_DATA@ | ||
21 | MKINSTALLDIRS = @MKINSTALLDIRS@ | ||
22 | -mkinstalldirs = $(SHELL) $(MKINSTALLDIRS) | ||
23 | +mkinstalldirs = $(MKINSTALLDIRS) | ||
24 | |||
25 | GMSGFMT = @GMSGFMT@ | ||
26 | MSGFMT = @MSGFMT@ | ||
diff --git a/meta/packages/findutils/findutils_4.2.29.bb b/meta/packages/findutils/findutils_4.2.29.bb index 2f40d03bd4..6373bad9c6 100644 --- a/meta/packages/findutils/findutils_4.2.29.bb +++ b/meta/packages/findutils/findutils_4.2.29.bb | |||
@@ -1,8 +1,12 @@ | |||
1 | require findutils.inc | 1 | require findutils.inc |
2 | 2 | ||
3 | PR = "r2" | ||
4 | |||
3 | do_install_append () { | 5 | do_install_append () { |
4 | mv ${D}${bindir}/find ${D}${bindir}/find.${PN} | 6 | if [ -e ${D}${bindir}/find ]; then |
5 | mv ${D}${bindir}/xargs ${D}${bindir}/xargs.${PN} | 7 | mv ${D}${bindir}/find ${D}${bindir}/find.${PN} |
8 | mv ${D}${bindir}/xargs ${D}${bindir}/xargs.${PN} | ||
9 | fi | ||
6 | } | 10 | } |
7 | 11 | ||
8 | pkg_postinst_${PN} () { | 12 | pkg_postinst_${PN} () { |
@@ -12,3 +16,5 @@ pkg_postinst_${PN} () { | |||
12 | pkg_prerm_${PN} () { | 16 | pkg_prerm_${PN} () { |
13 | for i in find xargs; do update-alternatives --remove $i $i.${PN}; done | 17 | for i in find xargs; do update-alternatives --remove $i $i.${PN}; done |
14 | } | 18 | } |
19 | |||
20 | BBCLASSEXTEND = "native" \ No newline at end of file | ||