]> git.tdb.fi Git - builder.git/blobdiff - source/package.cpp
Various fixes to package dependency and build info handling
[builder.git] / source / package.cpp
index f1374298eac0c8d14315a03d751498d5ba144a97..c3d7d75a0fcb037e021a9cfd45c219f8a694c552 100644 (file)
@@ -22,22 +22,6 @@ Package::Package(Builder &b, const string &n):
        use_pkgconfig(true)
 { }
 
-PackageList Package::collect_requires()
-{
-       PackageList result;
-       result.push_back(this);
-       for(PackageList::const_iterator i=requires.begin(); i!=requires.end(); ++i)
-       {
-               PackageList r = (*i)->collect_requires();
-               result.splice(result.end(), r);
-       }
-
-       result.sort();
-       result.unique();
-
-       return result;
-}
-
 void Package::configure(const StringMap &opts, unsigned flag)
 {
        if(conf_done)