pkgsrc-wip/nagios-base/options.mk

20 lines
581 B
Makefile
Raw Normal View History

2004-11-03 11:18:23 +01:00
# $NetBSD: options.mk,v 1.1 2004/11/03 10:18:23 cubidou Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nagios-base
PKG_SUPPORTED_OPTIONS= mysql pgsql
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mmysql)
CONFIGURE_ARGS+= --with-mysql-lib=${LOCALBASE}/lib/mysql \
--with-mysql-inc=${LOCALBASE}/include/mysql \
--with-mysql-xdata
.include "../../mk/mysql.buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mpgsql)
CONFIGURE_ARGS+= --with-pgsql-lib=${LOCALBASE}/pgsql \
--with-pgsql-inc=${LOCALBASE}/pgsql \
--with-pgsql-xdata
.include "../../mk/pgsql.buildlink3.mk"
.endif