diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-07-26 16:18:48 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-15 14:26:29 +0100 |
commit | ff5c7e2ad9458f519bc8afe6b4ba34fe6627bd4c (patch) | |
tree | 9461b1a7e7fe528d8596ebec5b975ef750d49cbe /meta/recipes-extended/diffutils/diffutils_3.2.bb | |
parent | 6bb519b048d4a120552426046d339ece38949549 (diff) | |
download | poky-ff5c7e2ad9458f519bc8afe6b4ba34fe6627bd4c.tar.gz |
diffutils: refactor to add a common diffutils.inc
(From OE-Core rev: f5f3cf1ac4c2dd3cae0cda3c858c8e5b309e1fdc)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/diffutils/diffutils_3.2.bb')
-rw-r--r-- | meta/recipes-extended/diffutils/diffutils_3.2.bb | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/meta/recipes-extended/diffutils/diffutils_3.2.bb b/meta/recipes-extended/diffutils/diffutils_3.2.bb index c46863d3a7..74c371dc9e 100644 --- a/meta/recipes-extended/diffutils/diffutils_3.2.bb +++ b/meta/recipes-extended/diffutils/diffutils_3.2.bb | |||
@@ -1,27 +1,11 @@ | |||
1 | DESCRIPTION = "Diffutils contains the GNU diff, diff3, \ | ||
2 | sdiff, and cmp utilities. These programs are usually \ | ||
3 | used for creating patch files." | ||
4 | SECTION = "base" | ||
5 | LICENSE = "GPLv3+" | 1 | LICENSE = "GPLv3+" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 2 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
7 | 3 | ||
8 | PR = "r1" | 4 | require diffutils.inc |
9 | 5 | ||
10 | SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.gz \ | 6 | PR = "${INC_PR}.0" |
11 | file://remove-gets.patch \ | ||
12 | " | ||
13 | 7 | ||
14 | inherit autotools update-alternatives gettext | 8 | SRC_URI += "file://remove-gets.patch" |
15 | |||
16 | # diffutils assumes non-glibc compilation with uclibc and | ||
17 | # this causes it to generate its own implementations of | ||
18 | # standard functionality. regex.c actually breaks compilation | ||
19 | # because it uses __mempcpy, there are other things (TBD: | ||
20 | # see diffutils.mk in buildroot) | ||
21 | EXTRA_OECONF_libc-uclibc = "--without-included-regex" | ||
22 | |||
23 | ALTERNATIVE_LINKS = "${bindir}/diff ${bindir}/cmp" | ||
24 | ALTERNATIVE_PRIORITY = "100" | ||
25 | 9 | ||
26 | SRC_URI[md5sum] = "22e4deef5d8949a727b159d6bc65c1cc" | 10 | SRC_URI[md5sum] = "22e4deef5d8949a727b159d6bc65c1cc" |
27 | SRC_URI[sha256sum] = "2aaaebef615be7dc365306a14caa5d273a4fc174f9f10abca8b60e082c054ed3" | 11 | SRC_URI[sha256sum] = "2aaaebef615be7dc365306a14caa5d273a4fc174f9f10abca8b60e082c054ed3" |