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_2.8.1.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_2.8.1.bb')
-rw-r--r-- | meta/recipes-extended/diffutils/diffutils_2.8.1.bb | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/meta/recipes-extended/diffutils/diffutils_2.8.1.bb b/meta/recipes-extended/diffutils/diffutils_2.8.1.bb index 09eb71e665..a31363aefb 100644 --- a/meta/recipes-extended/diffutils/diffutils_2.8.1.bb +++ b/meta/recipes-extended/diffutils/diffutils_2.8.1.bb | |||
@@ -1,28 +1,12 @@ | |||
1 | SUMMARY = "Diffutils contains tools used for finding differences between files." | ||
2 | DESCRIPTION = "Diffutils contains the GNU diff, diff3, \ | ||
3 | sdiff, and cmp utilities. These programs are usually \ | ||
4 | used for creating patch files." | ||
5 | SECTION = "base" | ||
6 | LICENSE = "GPLv2+" | 1 | LICENSE = "GPLv2+" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 2 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
8 | 3 | ||
9 | PR = "r5" | 4 | require diffutils.inc |
10 | 5 | ||
11 | SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.gz \ | 6 | PR = "${INC_PR}.0" |
12 | file://diffutils_fix_for_automake-1.12.patch \ | 7 | |
13 | " | 8 | SRC_URI += "file://diffutils_fix_for_automake-1.12.patch" |
14 | 9 | ||
15 | SRC_URI[md5sum] = "71f9c5ae19b60608f6c7f162da86a428" | 10 | SRC_URI[md5sum] = "71f9c5ae19b60608f6c7f162da86a428" |
16 | SRC_URI[sha256sum] = "c5001748b069224dd98bf1bb9ee877321c7de8b332c8aad5af3e2a7372d23f5a" | 11 | SRC_URI[sha256sum] = "c5001748b069224dd98bf1bb9ee877321c7de8b332c8aad5af3e2a7372d23f5a" |
17 | 12 | ||
18 | inherit autotools update-alternatives gettext | ||
19 | |||
20 | # diffutils assumes non-glibc compilation with uclibc and | ||
21 | # this causes it to generate its own implementations of | ||
22 | # standard functionality. regex.c actually breaks compilation | ||
23 | # because it uses __mempcpy, there are other things (TBD: | ||
24 | # see diffutils.mk in buildroot) | ||
25 | EXTRA_OECONF_libc-uclibc = "--without-included-regex" | ||
26 | |||
27 | ALTERNATIVE_LINKS = "${bindir}/diff ${bindir}/cmp" | ||
28 | ALTERNATIVE_PRIORITY = "100" | ||