Opened 22 years ago

Closed 21 years ago

Last modified 19 years ago

#144 closed enhancement (wontfix)

variants containing variants

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

Description

something like this would ease major variants with platform specific dependencies. consider a port with two variants: stable and unstable. it would be ideal to have those variants contain the necessary platform variants instead of duplicating them else where.

i am not even sure it would be possible to set the default variant to +stable then also have platform variants. by default +platform name will get picked up but that wouldn't help in this situation, one would still need to contain the other without a fair amount of hacking...

Change History (2)

comment:1 Changed 21 years ago by kevin@…

Variants within variants seems like it could easily turn into a large can of worms... I recommend carefully construction variants in the following manner:

variant darwin { # common darwin stuff for stable/unstable } variant darwin stable { # darwin stable stuff } variant darwin unstable { #darwin unstable stuff }

comment:2 Changed 21 years ago by landonf@…

Resolution: wontfix
Status: newclosed

The compound variants & inherent system variants were added explicitly to deal with this and similar problems. Bringing variants into variants would quickly become a very entangled mess indeed.

Note: See TracTickets for help on using tickets.