aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2016-08-18 11:35:03 +0800
committercy <cy@FreeBSD.org>2016-08-18 11:35:03 +0800
commitc967969f1a46f693dbe288e31af4db24fa8e1e55 (patch)
tree573661b5163c9b11e62e54040784bb271e1b96b0 /sysutils
parenta4d6336780852e5b2c196047e907c77f3cbf5907 (diff)
downloadfreebsd-ports-gnome-c967969f1a46f693dbe288e31af4db24fa8e1e55.tar.gz
freebsd-ports-gnome-c967969f1a46f693dbe288e31af4db24fa8e1e55.tar.zst
freebsd-ports-gnome-c967969f1a46f693dbe288e31af4db24fa8e1e55.zip
Make MongoDB an option.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/syslog-ng37/Makefile9
-rw-r--r--sysutils/syslog-ng37/pkg-plist1
2 files changed, 7 insertions, 3 deletions
diff --git a/sysutils/syslog-ng37/Makefile b/sysutils/syslog-ng37/Makefile
index 606328f229d4..e57666d296e4 100644
--- a/sysutils/syslog-ng37/Makefile
+++ b/sysutils/syslog-ng37/Makefile
@@ -3,7 +3,7 @@
PORTNAME= syslog-ng
PORTVERSION= 3.7.3
-PORTREVISION= 4
+PORTREVISION= 5
.if !defined(MASTERDIR)
PKGNAMESUFFIX= 37
.endif
@@ -30,7 +30,7 @@ CONFLICTS?= syslog-ng-[0-9]* syslog-ng[0-9]-[0-9]* \
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
MAKE_JOBS_UNSAFE= yes
-OPTIONS_DEFINE= TCP_WRAPPERS SQL SPOOF IPV6 SMTP JSON GEOIP DOCS REDIS JAVA PYTHON
+OPTIONS_DEFINE= TCP_WRAPPERS SQL SPOOF IPV6 SMTP JSON GEOIP DOCS REDIS JAVA PYTHON MONGO
OPTIONS_DEFAULT= JSON
TCP_WRAPPERS_DESC= Build with TCP Wrappers
SQL_DESC= Build with database (libdbi) support
@@ -87,6 +87,11 @@ MSQL_CONFIGURE_ENV= LIBDBI_LIBS="-ldbi"
MSQL_LDFLAGS= -L${LOCALBASE}/lib
MSQL_PLIST_FILES= lib/syslog-ng/libafsql.so
+MONGO_CONFIGURE_ENABLE= mongodb
+MONGO_BUILD_DEPENDS= mongo:databases/mongodb
+MONGO_RUN_DEPENDS= mongo:databases/mongodb
+MONGO_PLIST_FILES= lib/syslog-ng/libafmongodb.so
+
JSON_CONFIGURE_ENABLE= json
JSON_LIB_DEPENDS= libjson-c.so:devel/json-c
JSON_PLIST_FILES= lib/syslog-ng/libjson-plugin.so
diff --git a/sysutils/syslog-ng37/pkg-plist b/sysutils/syslog-ng37/pkg-plist
index a482b12bc720..d6b692143a34 100644
--- a/sysutils/syslog-ng37/pkg-plist
+++ b/sysutils/syslog-ng37/pkg-plist
@@ -196,7 +196,6 @@ lib/syslog-ng/libaffile.so
lib/syslog-ng/libafprog.so
lib/syslog-ng/libafuser.so
lib/syslog-ng/libafamqp.so
-lib/syslog-ng/libafmongodb.so
lib/syslog-ng/libcsvparser.so
lib/syslog-ng/libconfgen.so
lib/syslog-ng/libsystem-source.so