Ticket #18222 (closed defect: fixed)
akonadi mysql variant
| Reported by: | ryandesign@… | Owned by: | illogic-al@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | ||
| Port: | akonadi |
Description
akonadi has this variant:
variant mysql description "Build the Akonadi server" {
depends_lib path:${prefix}/bin/mysqld:mysql5-devel
}
A few issues:
- 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"
- 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?
- 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").
Change History
Note: See
TracTickets for help on using
tickets.


Fixed in r46016