pkgsrc-wip/nagios-plugin-mysql/Makefile
Jaromir Dolecek 8207f662ed use mk/mysql.buildlink3.mk instead of databases/mysql-client/buildlink3.mk,
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
2004-10-29 06:01:21 +00:00

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"