Ticket #16329 (closed enhancement: fixed)
Inheritance of macports.conf configuration files
| Reported by: | adambyrtek@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 1.7.0 |
| Component: | base | Version: | 1.6.0 |
| Keywords: | configuration patch | Cc: | adambyrtek@… |
| Port: |
Description
There are two possible locations of MacPorts configuration file:
$prefix/etc/macports.conf
$home/.macports/macports.conf
Currently user defined file if present *substitutes* the global file completely. The attached patch allows user to override only a few configuration options, keeping the global file as a default for other options. This is more in line with other Unix tools and more convenient, as often user only wants to tweak a few options keeping the rest in place.
Attachments
Change History
Changed 5 years ago by adambyrtek@…
- Attachment mp-config-handling2.patch added
Spaces instead of tabs in ChangeLog
comment:1 Changed 5 years ago by adambyrtek@…
Quite trivial yet very useful change. Discussed recently on macports-users and more than a year ago at macports-dev:
http://lists.macosforge.org/pipermail/macports-dev/2007-April/001373.html
comment:2 Changed 5 years ago by raimue@…
- Status changed from new to closed
- Resolution set to fixed
Committed in r40712.
Note: See
TracTickets for help on using
tickets.

