New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #18222 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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:

  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").

Change History

comment:1 Changed 4 years ago by illogic-al@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r46016

comment:2 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.