Slave ports

Beñat Gonzalez Etxepare bbtruk at users.sourceforge.net
Tue Nov 22 14:46:18 UTC 2011


On Mon, 21 Nov 2011 22:33:14 -0500, Sahil Tandon wrote:

> On Mon, 2011-11-21 at 17:10:26 -0800, Doug Barton wrote:
> 
> > On 11/21/2011 15:17, Matthew Seaman wrote:
> > > Lets suppose you want the gtk2 version of lazarus, and lets further
> > > suppose that the two slave ports discussed previously have been created.
> > > 
> > > You would write dependency lines in the port Makefile eg. like this:
> > > 
> > > BUILD_DEPENDS =	lazarus:${PORTSDIR}/editors/lazarus-gtk2
> > 
> > In spite of its not being documented in bsd.port.mk (hello? portmgr?
> > anyone?) there is an alternate way to describe the dependency that would
> > fix this problem:
> > 
> > BUILD_DEPENDS=	lazarus-gtk2>=1.23:${PORTSDIR}/editors/lazarus-gtk2
> 
> FWIW, this is at least documented in the Porter's Handbook. :)
> 
> http://www.freebsd.org/doc/en/books/porters-handbook/book.html#AEN2373

Sorry, I should have taken a better look at the Handbook before
asking...

In any case, thanks all for your help! I think this solves all my
problems. At least for now ;)


More information about the freebsd-ports mailing list