Opened 22 years ago

Closed 22 years ago

Last modified 20 years ago

#130 closed defect (wontfix)

portfile main block requires master_sites key

Reported by: jpm@… Owned by: kvv@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc:
Port:

Description

the main block of a portfile requires the master_sites key to be defined even if it is overwritten in the variants. this causes 'port fetch' to fail but gets past 'portindex'. this is an issue for portfiles that only define variants and do not define a port in main - in the interim, you can set master_sites to any value in main knowning it will be overwritten later

Change History (1)

comment:1 Changed 22 years ago by landonf@…

Resolution: wontfix
Status: newclosed

The main block of a port must ALWAYS be a valid port, and default_variants should never be depended upon to fill in valid data. If a port varies so much that there can not be a 'base' version and a number of variants on that base, it suggests that there ought to be multiple ports.

Note: See TracTickets for help on using tickets.