Cleaning up packages after cd /usr/ports && make

Ion-Mihai Tetcu itetcu at people.tecnik93.com
Fri Jan 13 07:58:42 PST 2006


 [ 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)
And you'll probably want the same for each subdir.


-- 
IOnut - Unregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"

War isn't a good life, but it's life.
		-- Kirk, "A Private Little War", stardate 4211.8




More information about the freebsd-chat mailing list