Opened 18 years ago

Closed 17 years ago

Last modified 15 years ago

#10618 closed enhancement (invalid)

RFE: feature to replicate gentoo use flags functionality

Reported by: mrgibson@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version:
Keywords: Cc:
Port:

Description

Hey, It would be really handy if:

on the configure.args line of each Portfile there was a {$UserOptions} var that was filled with the contents of a /opt/local/etc/ports/configure/{Category}/{PackageName}.{Version}|{Global} file. I was thinking the options possible for each package could be listed in a {PackageName}.options file for gui tools/control panels to use.

the default build options being specified there. It would allow us to make permanent config.args.opt changes that would be preserved (not clobbered) when we sync the main ports tree. You could then put a sync action sync-configs instead of just 'sync' to sync only config files if you really want to reset config.opts the to defaults.

This would give you the functionality of gentoo use flags without a complicated use-flag system. If you merge Version-specific options over the top of Global opts you have just a two layer flattening to do to result in the final config options.

I think this would provide a straight forward way of managing package options that would not have to be re-applied while keeping the overall system up to date.

Any comments, or oh,ba'shaws! to be directed to mrgibson@… thanks. :)

Change History (4)

comment:1 Changed 18 years ago by markd@…

Type: defectenhancement

comment:2 Changed 18 years ago by markd@…

Summary: feature request: not a bugRFE: feature to replicate gentoo use flags functionality

comment:3 Changed 17 years ago by nox@…

Milestone: MacPorts base enhancements
Priority: ExpectedNormal
Resolution: invalid
Status: newclosed
Version: 1.2

variants are gentoo use flag pseudo equivalents.

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.