From ffc51060357ce21e555d9ed50042ccfa04286528 Mon Sep 17 00:00:00 2001 From: Jamie Lenehan Date: Mon, 30 Apr 2007 04:10:56 +0000 Subject: 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). --- packages/perl/libxml-parser-perl_2.34.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packages/perl/libxml-parser-perl_2.34.bb') diff --git a/packages/perl/libxml-parser-perl_2.34.bb b/packages/perl/libxml-parser-perl_2.34.bb index f6cbb4efbe..67ee0bd8de 100644 --- a/packages/perl/libxml-parser-perl_2.34.bb +++ b/packages/perl/libxml-parser-perl_2.34.bb @@ -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/* \ -- cgit v1.2.3