Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 1995 21:21:27 -0700
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        jhs@vector.eikon.e-technik.tu-muenchen.de
Cc:        ports@freebsd.org
Subject:   Re: .mk files & make fetch & permissions
Message-ID:  <199508140421.VAA01622@silvia.HIP.Berkeley.EDU>
In-Reply-To: <199508121015.MAA13188@vector.eikon.e-technik.tu-muenchen.de> (message from Julian Howard Stacey on Sat, 12 Aug 1995 12:15:21 %2B0200)

next in thread | previous in thread | raw e-mail | index | archive | help
 * It would be preferable if this install stuff did not happen from `fetch'
 * with no requirement for root privs.

I am aware of this problem, this has been discussed numerous times
before, I posted a solution (albeit a hack) here a short while back.
Didn't you see it, I thought you were one of the people who
complained?

The solution: you can set

    IS_DEPENDED_TARGET=fetch

in the make command line to avoid this.

The more general problem is, of course, that make doesn't know if the
dependency is required for fetching, building, insalling or fetching,
because technically it's possible to install a new version of ncftp or
something as a dependency before doing the fetch stage.

I have ideas on how to solve this in bsd.port.mk (this has been
discussed here before too, and we already have a partial agreement),
unfortunately bsd.port.mk is now in a holdup stage with the big
rewrite test going on, I can't touch it right now.

If you don't understand what the above does, please go dig up the mail 
archives or (gasp) read bsd.port.mk. :)

Satoshi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508140421.VAA01622>