Presumably the "easy" thing we could do is keep track of which files exist in the binary archives...
Scott On Fri, Nov 11, 2011 at 1:31 PM, Brandon Allbery <[email protected]> wrote: > On Fri, Nov 11, 2011 at 16:17, Ryan Schmidt <[email protected]> wrote: >> >> Other times, we want to know what port provides a certain header or >> library we don't have on our systems that's causing some port to fail to >> build because someone forgot a dependency. > > This we need anyway, as it's a basis for what's being requested. > >> >> What do Ubuntu or other distributions do, and how do they do them? I >> haven't used them. > > They define in an /etc/profile.d inclusion a command-not-found trap that > queries a master database (a la "port provides" but against a database of > file locations if someone had every port installed) and suggests installing > (one of the) packages that provides it. > -- > brandon s allbery [email protected] > wandering unix systems administrator (available) (412) 475-9364 vm/sms > > > _______________________________________________ > macports-users mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
