Cleaning up packages after cd /usr/ports && make
Ion-Mihai Tetcu
itetcu at people.tecnik93.com
Fri Jan 13 14:38:59 PST 2006
On Fri, 13 Jan 2006 17:58:36 +0200
Ion-Mihai Tetcu <itetcu at people.tecnik93.com> wrote:
>
> [ this is a ports@ question, cc'ed ]
>
> On Fri, 13 Jan 2006 16:31:55 +0100
> Sten Daniel Sørsdal <lists at wm-access.no> wrote:
>
> > I managed to tell a coworker of mine to go into /usr/ports and and
> > type make on a production server. He let it run for 6 hours before
> > complaining.
> >
> > Are there any ways to get a list of leaf packages or build a tree of
> > the dependencies? How do you do it?
>
> sysutils/pkg_tree
> sysutils/pkg_cutleaves
> There are others.
>
> > Are there any make.conf things that could prevent such a general
> > make order?
>
> .if ${.CURDIR} == /usr/ports
> .error "Don't do make in /usr/ports"
> .endif
>
> I don't know what it could break (at least make index)
It wlll break portupgrade too:
--- Begining building portsdb
Fetching the ports index ... "/etc/make.conf", line 154: "don't do make in /usr/ports"
failed to fetch INDEX!
Updating the ports index ... "/etc/make.conf", line 154: "don't do make in /usr/ports"
failed to generate INDEX!
portsdb: index generation error
--- Done bulding portsdb
# ll /usr/ports/INDEX-6
-rw-r--r-- 1 root wheel 7936695 Jan 14 00:35 /usr/ports/INDEX-6
--
IOnut - Unregistered ;) FreeBSD "user"
"Intellectual Property" is nowhere near as valuable as "Intellect"
BOFH excuse #43:
boss forgot system password
More information about the freebsd-ports
mailing list