[MacPorts] #25562: miriad 4.1.3.20100512 - update to version 4.1.3.20100706
MacPorts
noreply at macports.org
Sat Jul 10 02:37:33 PDT 2010
#25562: miriad 4.1.3.20100512 - update to version 4.1.3.20100706
---------------------------------+------------------------------------------
Reporter: peter@… | Owner: macports-tickets@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: haspatch maintainer | Port: miriad
---------------------------------+------------------------------------------
Comment(by ryandesign@…):
Replying to [ticket:25562 peter@…]:
> 4. Implement telescope choice with a default-on variant +ata
There are two problems with this patch, and they're both the same problem:
you're specifying default variants even if the user has already requested
a conflicting other variant.
First, let's take the gcc variants. Before, gcc44 was the default variant
only if gcc43 was not already selected. This was the correct strategy.
After your changes, a user requesting the gcc43 variant will receive this
error:
{{{
$ sudo port install miriad +gcc43
Password:
Error: miriad: Variant gcc43 conflicts with gcc44
Error: Unable to open port: Error evaluating variants
}}}
The solution is to not change how the gcc44 default variant is specified;
leave it exactly how it was.
The second problem is the telescope variants. If the user requests the
carma variant, this error will appear:
{{{
$ sudo port install miriad +carma
Error: miriad: Variant ata conflicts with carma
Error: Unable to open port: Error evaluating variants
To report a bug, see <http://guide.macports.org/#project.tickets>
}}}
The solution is to model the ata variant default specification on the way
the gcc variant default specification was being done: make ata the default
variant only if a conflicting telescope variant (i.e. carma) has not
already been specified.
What I'm implying here but should state explicitly is that default
variants accumulate, they don't overwrite one another.
Committed a version that doesn't have these problems in r69573.
--
Ticket URL: <http://trac.macports.org/ticket/25562#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list