[152245] trunk/dports/net/libpcap/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Sep 2 03:47:13 PDT 2016



On Sep 2, 2016, at 5:43 AM, Marius Schamschula <lists at schamschula.com> wrote:
> 
>>> On Sep 1, 2016, at 4:43 PM, mps at macports.org wrote:
>>> 
>>> +platform darwin 9 {
>>> +    depends_build       port:flex
>>> +}
>> 
>> Doesn't libpcap require flex to build on all operating systems, not just Leopard?
> 

> Ryan,
> 
> Yes, but Apple’s flex on Leopard is too old, and configure fails, whereas Apple’s flex works on newer OS versions.
> 
> On Sep 2, 2016, at 3:37 AM, Ryan Schmidt <ryandesign at macports.org> wrote:


So Tiger would need the dependency too. I'd say just declare the dependency unconditionally, that way you're sure you're using the same version everywhere, and if something breaks because of the version of flex, you'll notice it on any system and can fix it more quickly.





More information about the macports-dev mailing list