Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2001 23:42:27 +0100
From:      Anton Berezin <tobez@tobez.org>
To:        Will Andrews <will@physics.purdue.edu>
Cc:        ports@FreeBSD.ORG
Subject:   Re: Dynamic dependencies
Message-ID:  <20010323234227.D31542@heechee.tobez.org>
In-Reply-To: <20010323174058.B5821@ohm.physics.purdue.edu>; from will@physics.purdue.edu on Fri, Mar 23, 2001 at 05:40:58PM -0500
References:  <20010323233057.C31542@heechee.tobez.org> <20010323174058.B5821@ohm.physics.purdue.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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