From ccec27323e3f552fcd1af2ff90fe099be0c88401 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Sun, 6 Aug 2006 19:37:22 +0000 Subject: clases/cpan.bbclass,packages/perl: add EXTRA_CPANFLAGS, fix native Add EXTRA_CPANFLAGS to cpan.bbclass, similiar to EXTRA_OECONF and EXTRA_OEMAKE Use this in libxml-parser-perl-native to point to the expat include and libraries perl-native inherits native already. No need to use BUILD_CC, BUILD_FOO, BUILD_LDFLAGS but use LDFLAGS and CC directly. LDFLAGS has rpath already removed... --- classes/cpan.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'classes/cpan.bbclass') diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass index 853abfd1b3..78b902f85d 100644 --- a/classes/cpan.bbclass +++ b/classes/cpan.bbclass @@ -1,7 +1,8 @@ FILES_${PN} += '${libdir}/perl5' +EXTRA_CPANFLAGS = "" cpan_do_configure () { - perl Makefile.PL + perl Makefile.PL ${EXTRA_CPANFLAGS} if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then . ${STAGING_DIR}/${TARGET_SYS}/perl/config.sh sed -e "s:\(SITELIBEXP = \).*:\1${sitelibexp}:; s:\(SITEARCHEXP = \).*:\1${sitearchexp}:; s:\(INSTALLVENDORLIB = \).*:\1${D}${libdir}/perl5:; s:\(INSTALLVENDORARCH = \).*:\1${D}${libdir}/perl5:" < Makefile > Makefile.new -- cgit v1.2.3