Date: Wed, 19 May 2010 21:58:24 +0400 From: Boris Samorodov <bsam@ipt.ru> To: Ion-Mihai Tetcu <itetcu@FreeBSD.org> Cc: joris dedieu <joris.dedieu@gmail.com>, freebsd-ports@freebsd.org Subject: Re: Depend on ${PORTSDIR}/foo WITH_OPTION Message-ID: <05553471@ipt.ru> In-Reply-To: <20100519200725.093b9452@it.buh.tecnik93.com> (Ion-Mihai Tetcu's message of "Wed, 19 May 2010 20:07:25 %2B0300") References: <AANLkTikLFmp8hgBPXMtArf9aNCnEZKUYNntVH0t0XPUS@mail.gmail.com> <20100519200725.093b9452@it.buh.tecnik93.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 May 2010 20:07:25 +0300 Ion-Mihai Tetcu wrote: > On Wed, 19 May 2010 08:11:48 +0200 > joris dedieu <joris.dedieu@gmail.com> wrote: > > I would like to know if there is a way to tell a port that it depend > > on an other port > > but build with particulars options. > > > > Eg : port foo build depend on bar but won't build if bar is not build > > with WITH_PARTICULAR. > > > > I don't see anything to say that in bsd.port.mk, so before to > > implement self made tests, I want to know if I miss something. > no, there isn't. Here is a workaround: create a port with needed options and use that new port as a dependency. You may look at comms/gammy-python as an example. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05553471>