From owner-freebsd-ports Fri Mar 23 14:42:38 2001 Delivered-To: freebsd-ports@freebsd.org Received: from heechee.tobez.org (254.adsl0.ryv.worldonline.dk [213.237.10.254]) by hub.freebsd.org (Postfix) with ESMTP id 3C14737B729 for ; Fri, 23 Mar 2001 14:42:28 -0800 (PST) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 3F3DE550E; Fri, 23 Mar 2001 23:42:27 +0100 (CET) Date: Fri, 23 Mar 2001 23:42:27 +0100 From: Anton Berezin To: Will Andrews Cc: ports@FreeBSD.ORG Subject: Re: Dynamic dependencies Message-ID: <20010323234227.D31542@heechee.tobez.org> Mail-Followup-To: Anton Berezin , Will Andrews , ports@FreeBSD.ORG References: <20010323233057.C31542@heechee.tobez.org> <20010323174058.B5821@ohm.physics.purdue.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010323174058.B5821@ohm.physics.purdue.edu>; from will@physics.purdue.edu on Fri, Mar 23, 2001 at 05:40:58PM -0500 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Mar 23, 2001 at 05:40:58PM -0500, Will Andrews wrote: > On Fri, Mar 23, 2001 at 11:30:57PM +0100, Anton Berezin wrote: > > What is the acceptable way to generate dependencies on the fly, during > > configure or patch stage? > > Could you be more specific? Sure. A p5 port that *may* depend on www/mod_perl mail/p5-MIME-Lite mail/p5-Mail-Tools mail/p5-Mail-Sendmail I use dialog(1) to ask for the user's preference (detecting beforehand which of those are already installed), and would like to set the dependencies accordingly. > > I need to alter both BUILD_DEPENDS and RUN_DEPENDS, but might actually > > get away with just RUN_DEPENDS. > > Set a standard, must-have etc. list of *_DEPENDS in the *_DEPENDS > section, then later: > > *_DEPENDS+= ...:${PORTSDIR}/... Naeh, that's too easy. :-) Besides, it isn't going to work. :-/ Cheers, #Anton. -- May the tuna salad be with you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message