[148264] trunk/dports/net/snort/Portfile

Marius Schamschula lists at schamschula.com
Tue May 3 16:44:11 PDT 2016


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 <ryandesign at macports.org> wrote:

> 
>> On May 1, 2016, at 6:55 PM, mps at macports.org wrote:
>> 
>> Revision
>> 148264
>> Author
>> mps at macports.org
>> 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




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20160503/a24df754/attachment.html>


More information about the macports-dev mailing list