tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mariadb and buildlink



On Mon, Aug 10, 2015 at 12:25:56PM +0000, Emmanuel Dreyfus wrote:
> The later way adress the problem in a single place but has a greater risk
> of introducing side effects.  QUick testing suggests it is alright, though.

I committed the fix here:
http://mail-index.netbsd.org/pkgsrc-changes/2015/08/10/msg128179.html

But unfortunately I truncated my commit mesage, which should readen as
below. :-/

--- cut here ---
Fix build of packages depending on mariadb55-client   

When a package depends on mysql-client, in includes mk/mysql-buildlink3.mk      
and may get buildlinked with mariadb55-client if MYSQL_VERSION_DEFAULT is 
set to MARIADB55.

mariadb55-client's buildlink3.mk defined BUILDLINK_*.mariadb-client 
variables, wich caused build problems with packages expecting 
BUILDLINK_*.mysql-client to be defined. For instance, php-pdo_mysql
expectex BUILDLINK_PREFIX.mysql-client to be set and fails to build
without it.

FIx the problem by changing BUILDLINK_*.mariadb-client to
BUILDLINK_*.mysql-client in mariadb55-client/buildlink3.mk. Remove a
package specific woakrround for this exact ptoblem in php-mysqli.
--- cut here ---

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index