From 0c958cb549e0ec0ca49378d0decd10ba1fc0094d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 27 Oct 2010 00:03:17 -0700 Subject: [PATCH] clxclient_3.6.1.bb: Fix compilation, do not inherit autotools * This does not use autoconf or automake so no need to inherit it * Do not override CFLAGS and add freetype include path to compiler include search paths Signed-off-by: Khem Raj --- recipes/jaaa/clxclient_3.6.1.bb | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/recipes/jaaa/clxclient_3.6.1.bb b/recipes/jaaa/clxclient_3.6.1.bb index 678ea4549e..9aa2135174 100644 --- a/recipes/jaaa/clxclient_3.6.1.bb +++ b/recipes/jaaa/clxclient_3.6.1.bb @@ -1,24 +1,23 @@ DESCRIPTION = "clxclient library from http://www.kokkinizita.net/linuxaudio/" SECTION = "libs/multimedia" PRIORITY = "optional" -LICENSE = "LGPL" -PR = "r1" +LICENSE = "LGPLv2.1+" +PR = "r2" DEPENDS = "libx11 clthreads freetype libxft" RDEPENDS_${PN} = "libx11-locale" - +TARGET_CC_ARCH += "-I ${STAGING_DIR_HOST}/usr/include/freetype2" SRC_URI = "http://www.kokkinizita.net/linuxaudio/downloads/clxclient-${PV}.tar.bz2 \ file://clxclient-Makefile.patch \ " S = "${WORKDIR}/clxclient-${PV}" -inherit autotools pkgconfig lib_package +inherit pkgconfig lib_package -do_stage() { - autotools_stage_all - oe_libinstall -so libclxclient ${STAGING_LIBDIR} - install -m 0644 clxclient.h ${STAGING_INCDIR} +do_compile() { + unset CFLAGS CPPFLAGS CXXFLAGS + oe_runmake } SRC_URI[md5sum] = "bd47f80a855d3203fcf10365e79d85e4" -- 2.39.5