Re: Slave ports

2011-11-22 Thread Beñat Gonzalez Etxepare
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

Re: Slave ports

2011-11-21 Thread Sahil Tandon
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 th

Re: Slave ports

2011-11-21 Thread Doug Barton
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:${

Re: Slave ports

2011-11-21 Thread Matthew Seaman
On 21/11/2011 22:21, Beñat Gonzalez Etxepare wrote: >> This works, but has an important deficiency: >> > >> >* If the user already has lazarus (of any variety) installed, that >> > would generally fulfil the dependency requirement irrespective >> > of which toolkit option was chosen

Re: Slave ports

2011-11-21 Thread Beñat Gonzalez Etxepare
> It might be tempting to just use the OPTIONS result from editors/ > lazarus directly, but you can't guarantee that editors/lazarus has > been installed at the point you run this options dialogue Thanks, I see clearly now why what I was trying to do was wrong and should be avoided. Using the foll

Re: Slave ports

2011-11-20 Thread Matthew Seaman
On 19/11/2011 22:47, Beñat Gonzalez Etxepare wrote: > In my case, I need to compile a new port (Double Commander, a file > manager) which depends in some other totally different port (Lazarus, > an IDE). > > With Lazarus you are able to compile applications for the toolkit you > choose: QT or GTK2

Re: Slave ports

2011-11-19 Thread Beñat Gonzalez Etxepare
> There are some ports under net-p2p that have qt and gtk slave ports. A > couple others I can think of off the top of my head are apache22 and > php5. Those areas should be good starting places to look over to give > you an idea of how to do it. Sorry for not answering sooner, but I have not

Re: Slave ports

2011-11-08 Thread Sam Cassiba
On 11/08/11 11:09, Beñat Gonzalez Etxepare wrote: Hello, I am in the process of making a new port of some application, but I have a problem with dependencies. The building process of this port depends in some other port. The problem is they must be built with the same options (GTK2 or QT in this