]> git.openpandora.org Git - openembedded.git/commitdiff
libxml-parser-perl: Add a dependency on expat-native and pass in the
authorJamie Lenehan <lenehan@twibble.org>
Mon, 30 Apr 2007 04:10:56 +0000 (04:10 +0000)
committerJamie Lenehan <lenehan@twibble.org>
Mon, 30 Apr 2007 04:10:56 +0000 (04:10 +0000)
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).

packages/perl/libxml-parser-perl_2.34.bb

index f6cbb4efbe3ce3752b8db2cdba7113a0d77550d5..67ee0bd8de8e58cc5f3cd2be0ea82e93c522ac97 100644 (file)
@@ -1,11 +1,14 @@
 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/* \