Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Nov 1995 16:26:58 -0500 (EST)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        Satoshi Asami <asami@cs.berkeley.edu>
Cc:        ports@freebsd.org
Subject:   Re: Proposal 3: Non-executable file in *_DEPEND
Message-ID:  <Pine.SUN.3.91.951117162627.11644B-100000@latte.eng.umd.edu>
In-Reply-To: <199511171729.JAA00967@silvia.HIP.Berkeley.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 Nov 1995, Satoshi Asami wrote:

> Here goes proposal #3.  (Boy am I glad the release is out or what,
> this is so much fun)
> 
> Some people have been complaining that the dependency mechanism is not
> flexible enough, i.e., {FETCH,BUILD,RUN}_DEPENDS can only take an
> executable as an argument.  Although this was intended to protect us
> from cases when the target system has a non-standard path (e.g.,
> /usr/opt instead of /usr/local) by using the "which" command that will
> DTRT as long as the PATH is set correctly, it was impossible to depend
> on a package that doesn't contain any executables.
> 
> Thus, I propose the following change to the *_DEPEND paradigm:
> 
>  @ For FETCH_DEPENDS, BUILD_DEPENDS and RUN_DEPENDS, if the argument
>    starts with a '/', the existence of the pathname will be tested
>    ("test -e").  Otherwise, they behave as before, and will be tested
>    by "which".
> 
>  @ No change to LIB_DEPENDS, DEPENDS.
> 
> What do people think?

Yeah, that sounds useable.

> 
> Satoshi
> 

============================================================================
Chuck Robey chuckr@eng.umd.edu -- I run FreeBSD on n3lxx and Journey2
---------------------------------------------------------------------------
The Dilbert Zone is Dilbert's new WWW home! The area
features never-before-seen original sketches of Dilbert, a photo tour
of Scott Adams' studio, Dilbert Trivia and memorabilia, high
school photos and much more!:
<URL:http://www.unitedmedia.com/comics/dilbert/>;




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.951117162627.11644B-100000>