[oe-commits] org.oe.dev libxml-parser-perl: Add a dependency on expat-native and pass in the

lenehan commit openembedded-commits at lists.openembedded.org
Mon Apr 30 04:34:43 UTC 2007


libxml-parser-perl: Add a dependency on expat-native and pass in the
appropriate libarary and include directories for exapt to the
makefile.
NOTE: This still doesn't work since it tries to use the host headers
when linking to perl. Fixing this properly will need "perl" to be
installed in the staging area (currently we stage perl-native only).

Author: lenehan at openembedded.org
Branch: org.openembedded.dev
Revision: 4ae75f1e55a112909b2988f967576647e8b6ed03
ViewMTN: http://monotone.openembedded.org/revision.psp?id=4ae75f1e55a112909b2988f967576647e8b6ed03
Files:
1
packages/perl/libxml-parser-perl_2.34.bb
Diffs:

#
# mt diff -r71b0f508a84bd574703ca497813f8765e5b2ca03 -r4ae75f1e55a112909b2988f967576647e8b6ed03
#
# 
# 
# patch "packages/perl/libxml-parser-perl_2.34.bb"
#  from [85f54f3232917dea46a81a7be5187428c7977571]
#    to [25b4e5bf4226ae454a8b3ef68ec63c00c598a794]
# 
============================================================
--- packages/perl/libxml-parser-perl_2.34.bb	85f54f3232917dea46a81a7be5187428c7977571
+++ packages/perl/libxml-parser-perl_2.34.bb	25b4e5bf4226ae454a8b3ef68ec63c00c598a794
@@ -1,11 +1,14 @@ LICENSE = "Artistic"
 SECTION = "libs"
 LICENSE = "Artistic"
-PR = "r3"
+DEPENDS += "expat-native"
+PR = "r4"
 
 SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz"
 
 S = "${WORKDIR}/XML-Parser-${PV}"
 
+EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
+
 inherit cpan
 
 FILES_${PN} = "${PERLLIBDIRS}/auto/XML/Parser/Expat/* \






More information about the Openembedded-commits mailing list