Re: Writing portfiles: How to depend on a certain variant of a port?

2015-09-07 Thread Mojca Miklavec
On Sun, Sep 6, 2015 at 8:09 PM, Lars Sonchocky-Helldorf wrote: > > brew install gnuplot --with-wxmac --with-cairo --with-pdflib-lite > --with-x11 --without-lua > - > > now for gnuplot the default variants are +aquaterm +luaterm +pangocairo > +wxwidgets +x11 but according to the above

Re: Writing portfiles: How to depend on a certain variant of a port?

2015-09-06 Thread Lars Sonchocky-Helldorf
Am 06.09.2015 um 20:17 schrieb Ryan Schmidt: > On Sep 6, 2015, at 13:09, Lars Sonchocky-Helldorf wrote: >> >> So how would I specify the variants I want in depends_lib? > > MacPorts itself does not have that capability. Please verify first whether it > is really necessary to use other

Writing portfiles: How to depend on a certain variant of a port?

2015-09-06 Thread Lars Sonchocky-Helldorf
Hi 'porters I am trying to write a portfile for torch7 (see http://torch.ch/docs/getting-started.html ). Since I am not very experienced with that task I might ask some possibly stupid questions for a while … At the moment I am trying to figure out the right depends_lib. My guideline for this

Re: Writing portfiles: How to depend on a certain variant of a port?

2015-09-06 Thread Ryan Schmidt
On Sep 6, 2015, at 13:09, Lars Sonchocky-Helldorf wrote: > > So how would I specify the variants I want in depends_lib? MacPorts itself does not have that capability. Please verify first whether it is really necessary to use other variants. If so, use the active_variants 1.1 portgroup.