X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsourcepackage.cpp;h=44faa071512280cec93c9ee8e8348e51c63333a0;hb=ef97eadef58922f45e1ba86a1d009db5ea41dd50;hp=bb239b22b7d60cc83e1486aa1860aa4666a37258;hpb=3f541fceb5aeb5d685ceb2363ebbca1cb1c3eb84;p=builder.git diff --git a/source/sourcepackage.cpp b/source/sourcepackage.cpp index bb239b2..44faa07 100644 --- a/source/sourcepackage.cpp +++ b/source/sourcepackage.cpp @@ -118,13 +118,6 @@ void SourcePackage::do_configure(const StringMap &opts, unsigned flag) config.finish(); - for(PackageList::iterator i=requires.begin(); i!=requires.end(); ++i) - { - BinaryPackage *bpkg = dynamic_cast(*i); - if(bpkg && bpkg->get_need_path()) - bpkg->set_path(config.get_option(bpkg->get_name()+"_path").value); - } - deps_cache.load(); for(ComponentList::iterator i=components.begin(); i!=components.end(); ++i) @@ -133,12 +126,6 @@ void SourcePackage::do_configure(const StringMap &opts, unsigned flag) void SourcePackage::init_config() { - for(PackageList::const_iterator i=requires.begin(); i!=requires.end(); ++i) - { - BinaryPackage *bpkg = dynamic_cast(*i); - if(bpkg && bpkg->get_need_path()) - config.add_option(bpkg->get_name()+"_path", "/usr", "Path for "+bpkg->get_name()); - } } void SourcePackage::create_build_info()