Portfile for a virtual port?
Bradley Giesbrecht
pixilla at macports.org
Mon Aug 8 13:07:36 PDT 2011
On Aug 8, 2011, at 12:52 PM, Ryan Schmidt wrote:
> On Aug 8, 2011, at 14:46, Bradley Giesbrecht wrote:
>
>> On Aug 8, 2011, at 11:01 AM, Joshua Root wrote:
>>
>>> It's close to the same thing; the difference is that instead of
>>> erroring
>>> out you want to install the one file. And of course stub ports don't
>>> have any dependencies.
>>
>> I thought it was common/suggested that the replaced_by stub port
>> have a dependency on the port that replaced them;
>
> Nope.
>
>> making it likely that "port upgrade outdated" will succeed when the
>> replaced port is depended on by other ports.
>
> If the replaced port is depended upon by other ports, those other
> ports need to be updated to now depend on the replacement. That's
> the responsibility of whoever caused the port to be replaced.
That can take some time when ports that depend on the replaced_by port
are not maintained by you and are not openmaintainer. Seems reasonable
to accommodate successful upgrades during the transition.
Regards,
Bradley Giesbrecht
More information about the macports-dev
mailing list