Slave ports
Sahil Tandon
sahil+freebsd-ports at tandon.net
Tue Nov 22 03:32:13 UTC 2011
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
More information about the freebsd-ports
mailing list