[oe] [PATCH] log4cpp: Stop using RC as a variable

Mike Crowe mac at mcrowe.com
Mon Oct 7 09:22:59 UTC 2019


This recipe cannot be parsed when using meta-mingw because ${RC} expands
to the Windows resource compiler. Let's use PRC instead to avoid that
problem.

Signed-off-by: Mike Crowe <mac at mcrowe.com>
---
 meta-oe/recipes-support/log4cpp/log4cpp_1.1.2.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/log4cpp/log4cpp_1.1.2.bb b/meta-oe/recipes-support/log4cpp/log4cpp_1.1.2.bb
index dc52c9ff4..19b94466b 100644
--- a/meta-oe/recipes-support/log4cpp/log4cpp_1.1.2.bb
+++ b/meta-oe/recipes-support/log4cpp/log4cpp_1.1.2.bb
@@ -3,8 +3,8 @@ HOMEPAGE = "http://sourceforge.net/projects/log4cpp/"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
 
-RC = "rc5"
-SRC_URI = "http://downloads.sourceforge.net/${BPN}/${BP}${RC}.tar.gz \
+PRC = "rc5"
+SRC_URI = "http://downloads.sourceforge.net/${BPN}/${BP}${PRC}.tar.gz \
            file://fix-pc.patch;striplevel=2 \
           "
 SRC_URI[md5sum] = "58b4591a2f3e7ef3d5e3e7cfb3a81a62"
-- 
2.20.1



More information about the Openembedded-devel mailing list