diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-09-26 08:09:36 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2006-09-26 08:09:36 +0000 |
commit | 872ba8437eff950789563e5924c106add1f35116 (patch) | |
tree | 586e266b77c34f133bc3988f8ddf8e8bcc12191d | |
parent | b54116276b70ec79512d98af571bdd5b4985825e (diff) | |
parent | 2f99c8a6f32246b503f9a6548fe0a11e133cb889 (diff) |
merge of '5386fdf357959b2fd3a16c6466b1dff24ef4e3c2'
and 'cd0ccc8a6e40034b4792530a3f601f46a163e6cb'
-rw-r--r-- | classes/cpan.bbclass | 6 | ||||
-rw-r--r-- | classes/cpan_build.bbclass | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass index 8acc9ab8f8..c48bd1a980 100644 --- a/classes/cpan.bbclass +++ b/classes/cpan.bbclass @@ -1,6 +1,12 @@ +# +# This is for perl modules that use the old Makefile.PL build system +# FILES_${PN} += '${libdir}/perl5' EXTRA_CPANFLAGS = "" +DEPENDS += "perl-native" +RDEPENDS += "perl" + cpan_do_configure () { perl Makefile.PL ${EXTRA_CPANFLAGS} if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then diff --git a/classes/cpan_build.bbclass b/classes/cpan_build.bbclass index b61a009eed..b7cdf7d821 100644 --- a/classes/cpan_build.bbclass +++ b/classes/cpan_build.bbclass @@ -1,6 +1,12 @@ +# +# This is for perl modules that use the new Build.PL build system +# INHIBIT_NATIVE_STAGE_INSTALL = "1" FILES_${PN} += '${libdir}/perl5' +DEPENDS += "perl-native" +RDEPENDS += "perl" + def is_crosscompiling(d): import bb if not bb.data.inherits_class('native', d): |