Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18222 closed defect (fixed)

akonadi mysql variant

Reported by: ryandesign (Ryan Carsten Schmidt) 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 (2)

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

Resolution: fixed
Status: newclosed

Fixed in r46016

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.