Commit 7395e278 authored by Jérome Perrin's avatar Jérome Perrin

fixup! component/perl: Infrastructure for CPAN packages in inpendent parts

We should not use _profile_base_location_ in another section, because
slapos.recipe.cmmi only know how to ignore it in the cache key
computation when _profile_base_location_ is used directly in the
slapos.recipe.cmmi section.
parent 4ff2a590
......@@ -84,13 +84,10 @@ make-options =
make-binary=
PERL5LIB="${:inc}:${:install-inc}" make
post-make-hook = ${perl-CPAN-post-make-hook:post-make-hook}
perl_location = ${perl:location}
# this post-make-hook is same for all users of the macro.
post-make-hook = ${:_profile_base_location_}/../../component/perl/perl-CPAN-package-create-wrapper.py#f9314defc3b144d9f36f8cab2a013af9:post_make_hook
[perl-CPAN-post-make-hook]
# a separate section, because when using in macro, we want this
# _profile_base_location_ to be relateive to perl/buildout.cfg
post-make-hook = ${:_profile_base_location_}/perl-CPAN-package-create-wrapper.py#f9314defc3b144d9f36f8cab2a013af9:post_make_hook
perl_location = ${perl:location}
[perl-wrapper]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment