summaryrefslogtreecommitdiff
path: root/classes/cpan_build.bbclass
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-03-18 18:29:38 +0300
committerRoman I Khimov <khimov@altell.ru>2010-03-24 00:45:27 +0300
commit243f90253fdf8c69821d5328c1073a69277a1194 (patch)
tree87809eccddb5998ca06c39e2c97c7542d6a5d061 /classes/cpan_build.bbclass
parent7f9e2c7d94dccc3082560cd33231d003839a7e50 (diff)
cpan_build: adapt to new staging for native
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'classes/cpan_build.bbclass')
-rw-r--r--classes/cpan_build.bbclass10
1 files changed, 3 insertions, 7 deletions
diff --git a/classes/cpan_build.bbclass b/classes/cpan_build.bbclass
index 899c4010ac..56f58168c7 100644
--- a/classes/cpan_build.bbclass
+++ b/classes/cpan_build.bbclass
@@ -3,7 +3,7 @@
#
inherit cpan-base
-INHIBIT_NATIVE_STAGE_INSTALL = "1"
+NATIVE_INSTALL_WORKS = "1"
#
# We also need to have built libmodule-build-perl-native for
@@ -46,12 +46,8 @@ cpan_build_do_compile () {
cpan_build_do_install () {
if [ ${@is_target(d)} == "yes" ]; then
perl Build install
- fi
-}
-
-do_stage_append () {
- if [ ${@is_target(d)} == "no" ]; then
- perl Build install
+ else
+ perl Build install destdir="${WORKDIR}/image"
fi
}