Opened 22 years ago

Closed 19 years ago

#133 closed defect (fixed)

RFE:preferred variants

Reported by: michaelm@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: base Version: 1.0
Keywords: Cc: rshaw@…
Port:

Description

Many ports have common variants, the best example being x11 vs no x11. Crypto containing ports will have strong/weak versions to deal with export restrictions.

We should be able to express a preference for these rather than specifying each time. This will also make crypto dependancies behave better as weak crypto will be the default, but many will want strong crypto on their machine as they know it will be legal in their location.

Change History (6)

comment:1 Changed 21 years ago by kevin@…

Status: newassigned

I believe the 'default_variants' keyword fixes this.

comment:2 Changed 21 years ago by michaelm@…

No, this would be a user preference not a port preference. In fact it would be most usefult to override the default preference.

comment:3 Changed 21 years ago by ssen@…

I would like this so that OD users can have +puredarwin and just do a "port install kdebase3", and the appropriate ports (esound and qt3) will just work

comment:4 Changed 19 years ago by kevin@…

Owner: changed from kevin@… to darwinports-bugs@…
Status: assignednew

I'm not actually working on this. Reassigning bugs in my queue to where they belong.

comment:5 Changed 19 years ago by olegb@…

Cc: rshaw@… added

m00:~ olegb$ cat /etc/ports/variants.conf # To specify global variants to use for all port builds, # customize this file to list variant settings you want. # # Be sure to uncomment/define the variants_conf setting # in your ports.conf or ~/.portsrc file to point to this # file to enable this feature. # # Any variants specified here that are not supported by # a port will just be ignored. Multiple variants can be # specified per line, or one per line is also allowed. # # Example: # +ipv6 +no_x11

isn't this already done ?

comment:6 Changed 19 years ago by michaelm@…

Resolution: fixed
Status: newclosed

I'm not sure why this hasn't been closed, it seems to work

Note: See TracTickets for help on using tickets.