8207f662ed
so that we'd not force dependance on specific MySQL version, and instead pick the currently installed mysql*-client (or install the default if there is no mysql-client package installed yet) this makes package buildable with arbitrary MySQL version, such as 3.23.x, 4.0.x or 4.1.x
21 lines
571 B
Makefile
21 lines
571 B
Makefile
# $NetBSD: Makefile,v 1.5 2004/10/29 06:01:22 dolecek Exp $
|
|
#
|
|
|
|
.include "../../wip/nagios-plugins/Makefile.common"
|
|
|
|
PKGNAME= nagios-plugin-mysql-${PLUGINSVERSION}
|
|
PKGREVISION= # not defined
|
|
|
|
MAINTAINER= murray@river-styx.org
|
|
COMMENT= Nagios mysql plugin
|
|
|
|
BINARY_TARGET= utils.o check_mysql
|
|
|
|
CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client}
|
|
LDFLAGS+= -Wl,-R${LOCALBASE}/lib/mysql
|
|
|
|
.include "../../wip/nagios-plugins/Makefile.plugin"
|
|
|
|
.include "../../mk/mysql.buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|