From owner-freebsd-ports Fri Nov 17 13:27:14 1995 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA29882 for ports-outgoing; Fri, 17 Nov 1995 13:27:14 -0800 Received: from chemserv.umd.edu (chemserv.umd.edu [129.2.64.40]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA29876 for ; Fri, 17 Nov 1995 13:27:03 -0800 Received: from latte.eng.umd.edu (latte.eng.umd.edu [129.2.98.15]) by chemserv.umd.edu (8.7.1/8.7) with ESMTP id QAA18041; Fri, 17 Nov 1995 16:26:59 -0500 (EST) Received: (chuckr@localhost) by latte.eng.umd.edu (8.7.1/8.6.4) id QAA12272; Fri, 17 Nov 1995 16:26:58 -0500 (EST) Date: Fri, 17 Nov 1995 16:26:58 -0500 (EST) From: Chuck Robey X-Sender: chuckr@latte.eng.umd.edu To: Satoshi Asami cc: ports@freebsd.org Subject: Re: Proposal 3: Non-executable file in *_DEPEND In-Reply-To: <199511171729.JAA00967@silvia.HIP.Berkeley.EDU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ports@freebsd.org Precedence: bulk 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!: