1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

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>
This commit is contained in:
Saul Wold
2012-07-26 16:18:48 -07:00
committed by Richard Purdie
parent 6bb519b048
commit ff5c7e2ad9
3 changed files with 29 additions and 39 deletions
@@ -0,0 +1,22 @@
SUMMARY = "Diffutils contains tools used for finding differences between files."
DESCRIPTION = "Diffutils contains the GNU diff, diff3, \
sdiff, and cmp utilities. These programs are usually \
used for creating patch files."
SECTION = "base"
INC_PR = "r6"
SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.gz"
inherit autotools update-alternatives gettext
# diffutils assumes non-glibc compilation with uclibc and
# this causes it to generate its own implementations of
# standard functionality. regex.c actually breaks compilation
# because it uses __mempcpy, there are other things (TBD:
# see diffutils.mk in buildroot)
EXTRA_OECONF_libc-uclibc = "--without-included-regex"
ALTERNATIVE_LINKS = "${bindir}/diff ${bindir}/cmp"
ALTERNATIVE_PRIORITY = "100"