[macports-base] branch master updated: Honour startupitem.install at activation time

Joshua Root jmr at macports.org
Mon Apr 9 00:42:20 UTC 2018


On 2018-4-9 10:20 , Rainer Müller wrote:
> On 2018-04-09 01:20, Joshua Root wrote:
>> On 2018-4-9 08:43 , Rainer Müller wrote:
>>> This handles ports that create .plist files via startupitem.* or the new
>>> startupitems. However, there are also ports that install custom .plist
>>> file to ${destroot}/Library/Launch*. Some ports even do that
>>> unconditionally.
>>
>> Ports that do this should set 'startupitem.create no' and
>> 'startupitem.type launchd', plus whatever other variables like
>> startupitem.name are needed based on what they called their plist.
> 
> I found no port in or ports tree that does it that way.

That's because you can't do it with the released version of base.

> As far as I can see, 'startupitem.create no' is not required right now
> and not used. I do not think Portfile authors will understand why it
> would be necessary. We should find a solution without it.

You don't have to actually set it to no, that's the default, so you just
don't set it to yes.

- Josh


More information about the macports-dev mailing list