[82168] trunk/dports/graphics

Blair Zajac blair at orcaware.com
Tue Aug 9 21:28:50 PDT 2011


On Aug 9, 2011, at 9:08 PM, Ryan Schmidt wrote:

> 
> On Aug 9, 2011, at 21:01, Blair Zajac wrote:
> 
>> 
>> On Aug 9, 2011, at 2:59 PM, Ryan Schmidt wrote:
>> 
>>> You don't need foreach loops to copy these files:
>>> 
>>> copy ${releasedir}/include/Field3D ${destroot}${prefix}/include
>>> xinstall -m 644 -W ${releasedir}/lib libField3D.a libField3D.dylib ${destroot}${prefix}/lib
>> 
>> The libField3D.dylib needs to be installed as 0755, but besides this, thanks.
> 
> Why is that though? Nobody is going to be executing the dylib, so why would it need the execute bit?

I'm not sure of the exact reason, it's always been practice, but they normally are installed that way:

find /usr/lib -maxdepth 1 -name \*.dylib -type f -ls

Maybe it's something to do with executing code from a shared library that is memory mapped into the process?

I know on linux if you don't, then ldd complains, although the process still runs.

Blair



More information about the macports-dev mailing list