As expected, Ryan did get this one right:

On my Yosemite machine:

marius$ otool -L /opt/local/bin/snort
/opt/local/bin/snort:
        /opt/local/lib/libdnet.1.dylib (compatibility version 2.0.0, current 
version 2.1.0)
        /opt/local/lib/libpcre.1.dylib (compatibility version 4.0.0, current 
version 4.6.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 1213.0.0)
        /opt/local/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
        /opt/local/lib/libsfbpf.0.dylib (compatibility version 1.0.0, current 
version 1.1.0)
        /usr/lib/libpcap.A.dylib (compatibility version 1.0.0, current version 
1.0.0)
        /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current 
version 1.2.8)

Thus, as I build in trace mode, systems prior to El Capitan found the Apple 
installed library, but not the MacPorts installed one.

So I’ve added openssl to the depends_lib for all OS versions. r148318.

On May 3, 2016, at 12:48 AM, Ryan Schmidt <[email protected]> wrote:

> 
>> On May 1, 2016, at 6:55 PM, [email protected] wrote:
>> 
>> Revision
>> 148264
>> Author
>> [email protected]
>> Date
>> 2016-05-01 16:55:29 -0700 (Sun, 01 May 2016)
>> Log Message
>> 
>> snort 2.9.8.2: add openssl dependency (missing headers) for El Cap
>> Modified Paths
>> 
>>      • trunk/dports/net/snort/Portfile
> 
>> +platform darwin 15 {
>> +    #El Capitan lacks openssl headers
>> +    depends_lib-append          port:openssl
>> +}
> 
> If this port uses openssl, it should have a dependency on port:openssl on all 
> operating systems, not just darwin 15.
> 
> 
> 

Marius
--
Marius Schamschula




_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to