dbf2mysql and hardcoded mysql-client version dependency

Miroslav Lachman 000.fbsd at quip.cz
Tue Nov 30 02:37:40 UTC 2010


Miroslav Lachman wrote:
> Matthew Seaman wrote:
>> On 28/11/2010 19:01, Miroslav Lachman wrote:
>>> Can somebody explain me, why databases/dbf2mysql has hardcoded
>>> dependency to mysql323-client?
>>>
>>> The Makefile contains:
>>>
>>> LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
>>>
>>> But it is unbuildable
>>
>> The sources to dbf2mysql were last modified around 2000, when mysql-3.2x
>> was current. Since then, it seems to have been pretty much abandoned.
>>
>> A good candidate for deletion from the ports on grounds of obsolescence.
>
> I attached two patches. Makefile.patch is for port's Makefile and
> patch-mysql2dbf should be placed into files port directory.
>
> Then it works with MySQL 5.0.x (tested with mysql-client-5.0.90)
>
> I tested just a dbf2mysql command, patch for mysql2dbf is needed to
> compile, but I did not tested it as I do not have any apps to test
> produced dbf file.
>
> Should I send a PR for this fix?

The PR is 152693
http://www.freebsd.org/cgi/query-pr.cgi?pr=152693

Miroslav Lachman


More information about the freebsd-ports mailing list