From patchwork Mon Apr 25 18:55:42 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [17/17] alsa-utils_1.0.23.bb: Fix compilation for uclibc targets Date: Mon, 25 Apr 2011 18:55:42 -0000 From: Khem Raj X-Patchwork-Id: 2855 Message-Id: <416b4a9aa5805d1c84d0c75d5fd460831ce8e100.1303757256.git.raj.khem@gmail.com> To: OE core Use libc-uclibc override to cover all uclibc cases inherit gettext class instead of adding gettext to DEPENDS directly Signed-off-by: Khem Raj --- meta/recipes-multimedia/alsa/alsa-utils_1.0.23.bb | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/meta/recipes-multimedia/alsa/alsa-utils_1.0.23.bb b/meta/recipes-multimedia/alsa/alsa-utils_1.0.23.bb index 46283cc..46b96ae 100644 --- a/meta/recipes-multimedia/alsa/alsa-utils_1.0.23.bb +++ b/meta/recipes-multimedia/alsa/alsa-utils_1.0.23.bb @@ -5,11 +5,11 @@ SECTION = "console/utils" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \ file://alsactl/utils.c;beginline=1;endline=20;md5=fe9526b055e246b5558809a5ae25c0b9" -DEPENDS = "alsa-lib ncurses gettext" +DEPENDS = "alsa-lib ncurses" PR = "r0" SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \ - file://ncursesfix.patch;patch=1 " + file://ncursesfix.patch" SRC_URI[md5sum] = "cb0cf46029ac9549cf3a31bff6a4f4e1" SRC_URI[sha256sum] = "b7d05e915e25f8540ad151c6dd558cf0fc1e9bb0ee23052d531c983666a1f7b0" @@ -19,10 +19,9 @@ SRC_URI[sha256sum] = "b7d05e915e25f8540ad151c6dd558cf0fc1e9bb0ee23052d531c983666 # please close bug and remove this comment when properly fixed # EXTRA_OECONF = "--disable-xmlto" -EXTRA_OECONF_linux-uclibc = "--disable-nls" -EXTRA_OECONF_linux-uclibcgnueabi = "--disable-nls" +EXTRA_OECONF_append_libc-uclibc = " --disable-nls" -inherit autotools +inherit autotools gettext # This are all packages that we need to make. Also, the now empty alsa-utils # ipk depend on them.