Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Nov 2011 22:33:14 -0500
From:      Sahil Tandon <sahil+freebsd-ports@tandon.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: Slave ports
Message-ID:  <20111122033314.GE28259@magic.hamla.org>
In-Reply-To: <4ECAF682.2050400@FreeBSD.org>
References:  <20111108180947.288e9a42.bbtruk@users.sourceforge.net> <4EB9771C.5080006@cassiba.com> <20111119234758.e4a46127.bbtruk@users.sourceforge.net> <4EC8C71B.4070405@infracaninophile.co.uk> <20111121232133.9cf7269a.bbtruk@users.sourceforge.net> <4ECADC06.3020403@infracaninophile.co.uk> <4ECAF682.2050400@FreeBSD.org>

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

-- 
Sahil Tandon



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