Re: Check for binaries

2017-03-28 Thread Ken Cunningham
There is also this:

https://packages.macports.org/

which will show you which prebuilt packages exist.

eg

https://packages.macports.org/qt4-mac/

that might help you out as well.

K


On 2017-03-28, at 1:34 PM, Adam Dershowitz wrote:

> Is there any way to check if a specific port will be installed as a binary or 
> built from source.  I’m looking for a flag that would just check if a binary 
> is available for my particular configuration?  I’m looking for something 
> similar to “dry run”  (-y).  I did try -y on the hopes that it would show 
> what would try to download, but even with -v it doesn’t show that level of 
> detail.  
> 
> Thanks,
> 
> 
> --Adam
> 
> 
> 



Re: Check for binaries

2017-03-28 Thread Adam Dershowitz
So, I guess I could do that, and then cancel if it starts to download.  That’s 
a bit of a work around, but should do the job.

--Adam



> On Mar 28, 2017, at 4:48 PM, Ken Cunningham  
> wrote:
> 
> you can specify in your macports.conf, or on the command line for one-offs, 
> that you only want to install binaries.
> 
> sudo port -b install my-big-port
> 
> will install the binary if it exists, or abort.
> 
> 
> Ken
> 
> 
> 
> On 2017-03-28, at 1:34 PM, Adam Dershowitz wrote:
> 
>> Is there any way to check if a specific port will be installed as a binary 
>> or built from source.  I’m looking for a flag that would just check if a 
>> binary is available for my particular configuration?  I’m looking for 
>> something similar to “dry run”  (-y).  I did try -y on the hopes that it 
>> would show what would try to download, but even with -v it doesn’t show that 
>> level of detail.  
>> 
>> Thanks,
>> 
>> 
>> --Adam
>> 
>> 
>> 
> 



Re: Check for binaries

2017-03-28 Thread Adam Dershowitz


> On Mar 28, 2017, at 4:42 PM, Brandon Allbery  wrote:
> 
> On Tue, Mar 28, 2017 at 4:34 PM, Adam Dershowitz  > wrote:
> Is there any way to check if a specific port will be installed as a binary or 
> built from source.
> 
> The problem with this is that often the decision is made based on whether it 
> can fetch a prebuilt binary: if the fetch fails, it builds from source.
> 

I understand.  I was hoping for something that verifies if the binary is there, 
and then reports back.  Perhaps it would have to start the download, then 
cancel?  

—Adam