From owner-freebsd-ports@FreeBSD.ORG Tue Dec 11 12:04:08 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BA0B16A475 for ; Tue, 11 Dec 2007 12:04:08 +0000 (UTC) (envelope-from fb-ports@psconsult.nl) Received: from ps226.psconsult.nl (ps226.psconsult.nl [213.222.19.226]) by mx1.freebsd.org (Postfix) with ESMTP id BF61513C45B for ; Tue, 11 Dec 2007 12:04:07 +0000 (UTC) (envelope-from fb-ports@psconsult.nl) Received: from phuket.psconsult.nl (localhost [127.0.0.1]) by phuket.psconsult.nl (8.13.1/8.13.1) with ESMTP id lBBAXUGQ070711 for ; Tue, 11 Dec 2007 11:33:30 +0100 (CET) (envelope-from fb-ports@psconsult.nl) Received: (from paul@localhost) by phuket.psconsult.nl (8.13.1/8.13.1/Submit) id lBBAXUvb070710 for freebsd-ports@freebsd.org; Tue, 11 Dec 2007 11:33:30 +0100 (CET) (envelope-from fb-ports@psconsult.nl) Date: Tue, 11 Dec 2007 11:33:30 +0100 From: Paul Schenkeveld To: freebsd-ports@freebsd.org Message-ID: <20071211103330.GA69937@psconsult.nl> Mail-Followup-To: freebsd-ports@freebsd.org References: <459D08CA.7060104@infracaninophile.co.uk> <20070105173738.2f4d86c4@gumby.homeunix.com> <20070105202810.010d4bea@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070105202810.010d4bea@gumby.homeunix.com> User-Agent: Mutt/1.5.6i Subject: Re: DEPENDS -- is it time to remove it? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2007 12:04:08 -0000 On Fri, Jan 05, 2007 at 08:28:10PM +0000, RW wrote: > On Fri, 5 Jan 2007 20:52:50 +0300 > "Andrew Pantyukhin" wrote: > > > On 1/5/07, RW wrote: > > > Isn't DEPENDS still a sensible way of making > > > one metaport depend on another. For example > > > if someone wanted to create a personal desk- > > > top metaport that depends on KDE, xorg etc. > > > > People need programs, not ports. > > It's not that straightforward when you want to depend on a > metaport like KDE. All of the binaries can be provided by individual > sub-ports. The sensible thing to do is create a dependency on KDE and > let KDE's options/knobs handle the lower dependencies. The ports tree > doesn't need to have metaports depend on metaports, but some people > find it useful to create their own. > > >It's more > > sensible to run_depend on files than just on > > ports. > > Looking at the porter's handbook it looks like the solution is to use > RUN_DEPENDS with${NONEXISTENT}, so I guess DEPENDS is redundant. So now I have a need for a metaport to depend on another metaport. Without DEPENDS, how do I accomplish that. Using RUN_DEPENDS with ${NONEXISTENT} seems not appropriate here, the Porters Handbook says that this should only be used to pull in source, not to install another metaport (unless it is already installed) and the effect of using something like RUN_DEPENDS=${NONEXISTENT}:${PORTSDIR}/lang/php5-extensions causes make install to try installing php5-extensions even when this port is already installed. The two metaport I need to depend on are php5-extensions and xorg-drivers and I really don't want to copy the OPTIONS processing of these ports and maintain that in the future. Thanks in advance for any help. Paul Schenkeveld