installs_libs

Ryan Schmidt ryandesign at macports.org
Sat May 28 15:47:57 PDT 2011


On May 28, 2011, at 16:36, Joshua Root wrote:

> On 2011-5-29 06:53 , Ryan Schmidt wrote:
>> 
> 
>> On May 27, 2011, at 01:43, jmr at macports.org wrote:
>> 
>>> Revision: 78924
>>>         http://trac.macports.org/changeset/78924
>>> Author:   jmr at macports.org
>>> Date:     2011-05-26 23:43:48 -0700 (Thu, 26 May 2011)
>>> Log Message:
>>> -----------
>>> add 'installs_libs' option that allows us to skip several checks when set to 'no'
>> 
>> Cool, this looks good.
>> 
>> Can "installs_libs no" be the default if "supported_archs" is "noarch"?
> 
> No, it could still install stuff like headers or bytecode.

Mmm, I see... So one must be careful not to read "installs_libs" too literally! (i.e. some ports that do not install libraries should still not be marked "installs_libs no")

And ports that aren't noarch could still be "installs_libs no" if they only install a program, right?

So some ports that I should add "installs_libs no" to would be winetricks, curl-ca-bundle, minivmac, whois, vineserver?

And until MacPorts 2.0 is released which will include this feature, the way to add this to ports would be like this, right?

if {[info exists installs_libs]} {
    installs_libs no
}




More information about the macports-dev mailing list