diff options
author | Holger Freyther <zecke@selfish.org> | 2006-08-06 19:37:22 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2006-08-06 19:37:22 +0000 |
commit | ccec27323e3f552fcd1af2ff90fe099be0c88401 (patch) | |
tree | 0f8f32106cf5a77e403065c7eb7a577a79f8baa7 /classes/cpan.bbclass | |
parent | 690e9e12869eb453929481ec5f999bff1e36c9b3 (diff) |
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...
Diffstat (limited to 'classes/cpan.bbclass')
-rw-r--r-- | classes/cpan.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
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 |