diff options
author | edwin <edwin@FreeBSD.org> | 2003-04-07 08:39:09 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-04-07 08:39:09 +0800 |
commit | d41a59a5ee99862a8b3658bfc92fcfc31bbdaa3b (patch) | |
tree | 89cfe35cfac60f181650287eb57b23465fc6ea52 /net-mgmt | |
parent | 062b9ef60f1aba85d9be98d2c109d1bc2bc54697 (diff) | |
download | freebsd-ports-gnome-d41a59a5ee99862a8b3658bfc92fcfc31bbdaa3b.tar.gz freebsd-ports-gnome-d41a59a5ee99862a8b3658bfc92fcfc31bbdaa3b.tar.zst freebsd-ports-gnome-d41a59a5ee99862a8b3658bfc92fcfc31bbdaa3b.zip |
add-ons for netsaint and nagios
Add mysql/pgsql capabilities to netsaint.
PR: ports/48102
Submitted by: Krzysztof Stryjek <wtpooh@acn.waw.pl>
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/netsaint/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-mgmt/netsaint/Makefile b/net-mgmt/netsaint/Makefile index 9edd7f45ff93..026e6f2b8433 100644 --- a/net-mgmt/netsaint/Makefile +++ b/net-mgmt/netsaint/Makefile @@ -37,6 +37,21 @@ CONFIGURE_ARGS= --with-command-user=netsaint \ --sysconfdir=${PREFIX}/etc/netsaint \ --localstatedir=${PREFIX}/var/netsaint +.if defined(WITH_MYSQL) +LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \ + --with-mysql-inc=${LOCALBASE}/include/mysql \ + --with-mysql-xdata +.endif + +.if defined(WITH_POSTGRES) +POSTGRESQL_PORT?= databases/postgresql7 +LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} +CONFIGURE_ARGS+=--with-pgsql-lib=${LOCALBASE}/pgsql \ + --with-pgsql-inc=${LOCALBASE}/pgsql \ + --with-pgsql-xdata +.endif + INSTALL_TARGET= all install config install-config install-daemoninit install-commandmode pre-fetch: |