Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#56023 closed defect (fixed)

obsolete portgroup: don't require replaced_by to be set before including the portgroup

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: obsolete

Description

The obsolete-1.0 portgroup currently requires replaced_by to be set before including the portgroup. Don't require that; it's weird. Instead, maybe use an option_proc to monitor changes to replaced_by.

Change History (2)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 0d8e18a9ca4636297320027f3c546c37aca4b649/macports-ports:

obsolete-1.0.tcl: Allow replaced_by to be set later

Previously, replaced_by needed to be set before the portgroup was
included. Now it can be set, changed, or unset, before or after.

Closes: #56023

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

In 79bd6cfa79ae1feefe59a39243184665ff849663/macports-guide:

Update obsolete portgroup docs about replaced_by

replaced_by can now be specified either before or after including the
portgroup.

See: #56023

Note: See TracTickets for help on using tickets.