From f4a111e8d9e13e1702ef7502ca7468b9ccd035cd Mon Sep 17 00:00:00 2001 From: Andre McCurdy Date: Wed, 18 Feb 2015 22:50:36 -0800 Subject: log4c: fix undeclared dependency on expat The original log4c configure.in is buggy and requires fixing before "configure --with-expat" works as expected. Signed-off-by: Andre McCurdy Signed-off-by: Martin Jansa --- meta-oe/recipes-support/log4c/log4c_1.2.4.bb | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'meta-oe/recipes-support/log4c/log4c_1.2.4.bb') diff --git a/meta-oe/recipes-support/log4c/log4c_1.2.4.bb b/meta-oe/recipes-support/log4c/log4c_1.2.4.bb index 43e074699..ea75757f8 100644 --- a/meta-oe/recipes-support/log4c/log4c_1.2.4.bb +++ b/meta-oe/recipes-support/log4c/log4c_1.2.4.bb @@ -1,16 +1,15 @@ -SUMMARY = "Logging Framework for C" +SUMMARY = "Log4c is a C library for flexible logging to files, syslog and other destinations" HOMEPAGE = "http://log4c.sourceforge.net" LICENSE = "LGPLv2" - LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" -SRC_URI = "http://cznic.dl.sourceforge.net/project/log4c/log4c/${PV}/log4c-${PV}.tar.gz" +SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \ + file://fix_configure_with-expat.patch" + SRC_URI[md5sum] = "0d94919136e1d16b68427562e74cb3dd" SRC_URI[sha256sum] = "5991020192f52cc40fa852fbf6bbf5bd5db5d5d00aa9905c67f6f0eadeed48ea" -S = "${WORKDIR}/${PN}-${PV}" - -EXTRA_OECONF = "--prefix=/usr" +PACKAGECONFIG ??= "expat" +PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat" inherit autotools - -- cgit v1.2.3-54-g00ecf