Hello, 

I just took maintainership of akonadi, so I did not yet take the time to look 
much at the port.

> The akonadi port should provide variants to let the user choose which of the 
> many mysql ports should be used to satisfy the mysql dependency—as should any 
> other ports depending on mysql. 

I will look into this, in particular since mariadb for instance is also 
explicitly referenced as a viable substitute for mysql. 

>> $ port contents mysql55 | grep mysqld
>> …
>> /opt/macports-test/lib/mysql55/bin/mysqld

The variants to be made should also take care of the paths problems, especially 
since they appear to change depending on the version:

$ port contents mysql5 | grep mysqld

  /opt/local/libexec/mysqld
(among other things). 
Akonadi is anyway presently announced as depending on mysql5. So mysql55 should 
have no links with this issue. 

>> In port akonadi one finds
>> ---
>> depends_run-append  path:libexec/mysqld:mysql5-server
>> configure.args-append  -DDATABASE_BACKEND=MYSQL

Finally, by looking at it, I realised these instructions are outdated. As for 
now, the port builds for sqlite anyway because of misconfiguration. The port 
will need rewrite anyway. 

Cheers, 

Nicolas

On Dec 7, 2012, at 9:54 PM, Ryan Schmidt <[email protected]> wrote:

> 
> On Dec 6, 2012, at 11:52, [email protected] wrote:
> 
>> On Dec 5, 2012, at 9:53 AM, Bradley Giesbrecht wrote:
>>>>    $ port installed mysql*
>>>>    The following ports are currently installed:
>>>>    mysql5 @5.1.66_2 (active)
>>>>    mysql5-server @5.1.66_1 (active)
>>>>    mysql55 @5.5.28_2 (active)
>>> 
>>> It looks like mysql55 is installed?
>>> Are you suggesting the qt4-mac-mysql55-plugin should depend on 
>>> mysql55-server instead of mysql55??
>> 
>> Hmm, well, I just didn't expect to see mysql5-server 5.1.66…
>> 
>> But it looks like akonadi is responsible for this:
>> ---
>> $ port dependents mysql5-server
>> akonadi depends on mysql5-server
>> ---
>> 
>> In port akonadi one finds
>> ---
>> depends_run-append  path:libexec/mysqld:mysql5-server
>> configure.args-append  -DDATABASE_BACKEND=MYSQL
>> ---
>> which means that only if path:libexec/mysqld can't be found mysql5-server 
>> would be installed.
>> 
>> But mysql55 supplies mysqld at a different location:
>> ---
>> $ port contents mysql55 | grep mysqld
>> …
>> /opt/macports-test/lib/mysql55/bin/mysqld
>> …
>> ---
>> which would require a different path, i.e. path:lib/mysql55/bin/mysqld…
>> 
>> I wonder how such a case could be handled. It looks like the akonadi port 
>> needs an update here!!!
> 
> The akonadi port should provide variants to let the user choose which of the 
> many mysql ports should be used to satisfy the mysql dependency—as should any 
> other ports depending on mysql. 
> 
> _______________________________________________
> macports-dev mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo/macports-dev

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to