#14648: Specifying a nonexistant variant during install should cause a warning -------------------------------------+-------------------------------------- Reporter: wsiegrist@apple.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts base enhancements Component: base | Version: 1.7.0 Keywords: install variant warning | -------------------------------------+-------------------------------------- When installing a port, if the user specifies a variant which does not exist, a warning should appear. In debug mode, the usual "not provided" message is shown but its shown amongst the usual darwin and macosx variant warnings. Normal users who do not run in debug mode should be given a warning. This would help for people who want to install a port with a specific version of a variant (php4 versus php5 for example), but typo it and end up installing the wrong version. Since variants could be specified for the dependent ports themselves, perhaps a recursive check down all of the dependencies could be made before any fetching and warn is the variant is not found in any of the ports. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14648> MacPorts </projects/macports> Ports system for Mac OS