pkgsrc/databases/mariadb104-client/buildlink3.mk
jperkin c7d7e28f74 mariadb104-client: Limit version to avoid 10.5.*.
Should fix dependencies in pbulk incorrectly picking mariadb105-client.
2021-05-24 14:29:49 +00:00

27 lines
943 B
Makefile

# $NetBSD: buildlink3.mk,v 1.4 2021/05/24 14:29:49 jperkin Exp $
# This buildlink file uses mysql-client and not mariadb-client,
# because some packages depending on it expect BUILDLINK_*.mysql-client
# to be set and will fail build if they get BUILDLINK_*.mariadb-client
# instead.
BUILDLINK_TREE+= mysql-client
.if !defined(MYSQL_CLIENT_BUILDLINK3_MK)
MYSQL_CLIENT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.mysql-client+= mariadb-client>=10.4.0<10.5.0
BUILDLINK_ABI_DEPENDS.mysql-client+= mariadb-client>=10.4.0
BUILDLINK_PKGSRCDIR.mysql-client?= ../../databases/mariadb104-client
BUILDLINK_INCDIRS.mysql-client+= include/mysql
BUILDLINK_LIBDIRS.mysql-client+= lib
pkgbase := mysql-client
.include "../../mk/pkg-build-options.mk"
.if ${PKG_BUILD_OPTIONS.mysql-client:Mssl}
. include "../../security/openssl/buildlink3.mk"
.endif
.include "../../devel/zlib/buildlink3.mk"
.endif # MYSQL_CLIENT_BUILDLINK3_MK
BUILDLINK_TREE+= -mysql-client