Bug#702280: Add alternative (build-)dependency: libmariadbclient-dev
Otto Kekäläinen
otto at seravo.fi
Mon Mar 4 20:24:30 UTC 2013
Hello,
2013/3/4 Rene Engelhard <rene at debian.org>:
> [ I am not the maintainer of libdbd-mysql-perl .. ]
>
> On Mon, Mar 04, 2013 at 08:15:40PM +0200, Otto Kekäläinen wrote:
>> The attached patch would insert the dependency like:
>> libmariadbclient-dev | libmysqlclient-dev
>
> TTBOMK sbuld (at least the one used at the debian buildds)
> only consider the first alternative - and this is correct to ensure
> reliable builds.
You are right, the resulting binary package will have only
"libmariadbclient18 (>= 5.5.1-1)" and no pipe operator and alternative
option. We can't touch the source file dependencies is this case, but
rather we should change the binary package dependencies directly.
The binary package description in debian/control states:
Depends: ${misc:Depends}, ${shlibs:Depends}, ${perl:Depends},
libdbi-perl (>= 1.610.90)
What is the correct way to insert "libmariadbclient18 (>= 5.5.1-1) |
libmysqlclient18 (>= 5.5.1-1)" in there?
The latter libmysqclient already comes via some of the debuild
automatic dependencies.
More information about the pkg-perl-maintainers
mailing list