Ticket #16329: mp-config-handling2.patch
File mp-config-handling2.patch, 1.7 KB (added by adambyrtek@…, 16 years ago) |
---|
-
src/macports1.0/macports.tcl
369 369 370 370 # Configure the search path for configuration files 371 371 set conf_files "" 372 lappend conf_files "${macports_conf_path}/macports.conf" 373 if { [file isdirectory $macports_user_dir] } { 374 lappend conf_files "${macports_user_dir}/macports.conf" 375 } 372 376 if {[info exists env(PORTSRC)]} { 373 377 set PORTSRC $env(PORTSRC) 374 378 lappend conf_files ${PORTSRC} 375 379 } 376 if { [file isdirectory $macports_user_dir] } {377 lappend conf_files "${macports_user_dir}/macports.conf"378 }379 lappend conf_files "${macports_conf_path}/macports.conf"380 380 381 381 # Process the first configuration file we find on conf_files list 382 382 foreach file $conf_files { … … 391 391 } 392 392 } 393 393 } 394 break395 394 } 396 395 } 397 396 -
ChangeLog
5 5 6 6 7 7 Unreleased: 8 - Changes in loading of configuration files. Currently the global 9 configuration file is loaded first, then user defined one (if present), 10 PORTSRC environment variable is loaded last. Last defined value is used 11 for each configuration option. (#16329, contributed by Adam Byrtek) 12 8 13 - Ruby port group now accepts a new (optional) last parameter for the 9 14 ruby.setup command, "implementation". It is "ruby" by default, and 10 15 can be set to "ruby19". It names the ruby-implementing port, and can