[oe-commits] Khem Raj : libxml-parser-perl_2.36.bb: Override do_compile for native build .

git version control git at git.openembedded.org
Fri Jul 9 00:31:49 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 30223cff6e5cf7365da2c4430773310c0fe6bc26
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=30223cff6e5cf7365da2c4430773310c0fe6bc26

Author: Khem Raj <raj.khem at gmail.com>
Date:   Thu Jul  8 13:21:13 2010 -0700

libxml-parser-perl_2.36.bb: Override do_compile for native build.

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/perl/libxml-parser-perl_2.36.bb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes/perl/libxml-parser-perl_2.36.bb b/recipes/perl/libxml-parser-perl_2.36.bb
index 02c7153..1eaa230 100644
--- a/recipes/perl/libxml-parser-perl_2.36.bb
+++ b/recipes/perl/libxml-parser-perl_2.36.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "XML::Parser - A perl module for parsing XML documents"
 SECTION = "libs"
 LICENSE = "Artistic"
 DEPENDS += "expat expat-native"
-PR= "r2"
+PR= "r3"
 
 SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz"
 
@@ -16,6 +16,9 @@ do_compile() {
 	export LIBC="$(find ${STAGING_DIR_TARGET}/lib -name 'libc-*.so')"
 	cpan_do_compile
 }
+do_compile_virtclass-native (){
+	cpan_do_compile
+}
 
 FILES_${PN} = "${PERLLIBDIRS}/auto/XML/Parser/Expat/* \
                 ${PERLLIBDIRS}/XML"





More information about the Openembedded-commits mailing list