aboutsummaryrefslogtreecommitdiff
path: root/net/bmon
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2008-04-09 22:12:18 +0000
committerWesley Shields <wxs@FreeBSD.org>2008-04-09 22:12:18 +0000
commitfbb766f1c3533da14ebd282c676bc4e8d7c7ad77 (patch)
treea97b0fe1a944b3caf37603299ad0db37e25702f0 /net/bmon
parent307e8d0485e38028d2e1b198681f6e1963a89183 (diff)
downloadports-fbb766f1c3533da14ebd282c676bc4e8d7c7ad77.tar.gz
ports-fbb766f1c3533da14ebd282c676bc4e8d7c7ad77.zip
Pick up libdbi dependency and fix build with it.
PR: ports/121650 Submitted by: Mel <mel.xyzzy@rachie.is-a-geek.net><F7> Approved by: garga (mentor), maintainer
Notes
Notes: svn path=/head/; revision=210962
Diffstat (limited to 'net/bmon')
-rw-r--r--net/bmon/Makefile3
-rw-r--r--net/bmon/files/patch-src__out_db.c11
2 files changed, 14 insertions, 0 deletions
diff --git a/net/bmon/Makefile b/net/bmon/Makefile
index 91190bf70174..cca9c0e9762e 100644
--- a/net/bmon/Makefile
+++ b/net/bmon/Makefile
@@ -7,12 +7,15 @@
PORTNAME= bmon
PORTVERSION= 2.1.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://people.suug.ch/~tgr/bmon/files/
MAINTAINER= nistor@snickers.org
COMMENT= Portable bandwidth monitor and rate estimator
+LIB_DEPENDS= dbi.0:${PORTSDIR}/databases/libdbi
+
GNU_CONFIGURE= YES
USE_GMAKE= YES
MAKEFILE= GNUmakefile
diff --git a/net/bmon/files/patch-src__out_db.c b/net/bmon/files/patch-src__out_db.c
new file mode 100644
index 000000000000..d7caa9d85ae9
--- /dev/null
+++ b/net/bmon/files/patch-src__out_db.c
@@ -0,0 +1,11 @@
+--- ./src/out_db.c.orig 2008-03-24 22:44:47.000000000 -0400
++++ ./src/out_db.c 2008-03-24 22:45:03.000000000 -0400
+@@ -679,7 +679,7 @@
+ .om_draw = db_draw,
+ .om_set_opts = db_set_opts,
+ .om_probe = db_probe,
+- .om_shutdown db_shutdown,
++ .om_shutdown = db_shutdown,
+ };
+
+ static void __init db_init(void)