aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-17 23:48:10 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-17 23:48:10 +0000
commitacc41f0660709168bea12c8abf0faebd48e21f1f (patch)
tree3d022e33c66eea6178a23a1940783ca9df6b34eb
parent9f5946f1d05267e852865c72b88652e9bbe39adc (diff)
downloadpaludis-acc41f0660709168bea12c8abf0faebd48e21f1f.tar.gz
paludis-acc41f0660709168bea12c8abf0faebd48e21f1f.tar.xz
Provide A during the ebuild build phase
-rw-r--r--paludis/ebuild.cc1
-rw-r--r--paludis/ebuild.hh2
-rw-r--r--paludis/portage_repository.cc1
3 files changed, 4 insertions, 0 deletions
diff --git a/paludis/ebuild.cc b/paludis/ebuild.cc
index 02d76e1..578b5f8 100644
--- a/paludis/ebuild.cc
+++ b/paludis/ebuild.cc
@@ -210,6 +210,7 @@ MakeEnvCommand
EbuildInstallCommand::extend_command(const MakeEnvCommand & cmd)
{
MakeEnvCommand result(cmd
+ ("A", install_params.get<ecipk_a>())
("USE", install_params.get<ecipk_use>())
("USE_EXPAND", install_params.get<ecipk_use_expand>())
("ROOT", install_params.get<ecipk_root>())
diff --git a/paludis/ebuild.hh b/paludis/ebuild.hh
index 40a086e..76dd4fa 100644
--- a/paludis/ebuild.hh
+++ b/paludis/ebuild.hh
@@ -153,6 +153,7 @@ namespace paludis
enum EbuildInstallCommandParamsKeys
{
+ ecipk_a,
ecipk_use,
ecipk_use_expand,
ecipk_root,
@@ -167,6 +168,7 @@ namespace paludis
struct EbuildInstallCommandParamsTag :
SmartRecordTag<comparison_mode::NoComparisonTag, void>,
SmartRecordKeys<EbuildInstallCommandParamsKeys, last_ecipk>,
+ SmartRecordKey<ecipk_a, std::string>,
SmartRecordKey<ecipk_use, std::string>,
SmartRecordKey<ecipk_use_expand, std::string>,
SmartRecordKey<ecipk_root, std::string>,
diff --git a/paludis/portage_repository.cc b/paludis/portage_repository.cc
index cd165e0..6dfa976 100644
--- a/paludis/portage_repository.cc
+++ b/paludis/portage_repository.cc
@@ -1248,6 +1248,7 @@ PortageRepository::do_install(const QualifiedPackageName & q, const VersionSpec
)),
EbuildInstallCommandParams::create((
param<ecipk_use>(use),
+ param<ecipk_a>(archives),
param<ecipk_use_expand>(join(_imp->expand_list.begin(),
_imp->expand_list.end(), " ")),
param<ecipk_expand_vars>(expand_vars),