[MacPorts] #18222: akonadi mysql variant
MacPorts
noreply at macports.org
Tue Jan 27 00:22:20 PST 2009
#18222: akonadi mysql variant
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: illogic-al@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: akonadi
-------------------------------------+--------------------------------------
akonadi has this variant:
{{{
variant mysql description "Build the Akonadi server" {
depends_lib path:${prefix}/bin/mysqld:mysql5-devel
}
}}}
A few issues:
1. Variables are not expanded in depspecs, and "${prefix}/" is prepended
to non-absolute paths in path:-style depspecs, so the dependency should be
on "path:bin/mysqld:mysql5-devel"
2. Earlier in the port it says "depends_lib port:qt4-mac" so
shouldn't the mysql variant append to depends_lib instead of overwriting
it?
3. The variant only adds a dependency. It does nothing to ensure that the
port will not use mysql5 if the variant is not selected (via e.g. a
configure argument like (I'm just guessing here) "--without-mysql" which
would be used by default and removed in the mysql variant and changed to
"--with-mysql").
--
Ticket URL: <http://trac.macports.org/ticket/18222>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list