aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/icinga2
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2015-07-14 20:18:10 +0000
committerLars Engels <lme@FreeBSD.org>2015-07-14 20:18:10 +0000
commita0ae0d2df7e6fe60f4fedcedcba00a88c7714dae (patch)
tree74531f68147a88781114ad278df66c7791c52666 /net-mgmt/icinga2
parent18c0652534da18e0fa7759b4c5645d6e05965201 (diff)
downloadports-a0ae0d2df7e6fe60f4fedcedcba00a88c7714dae.tar.gz
ports-a0ae0d2df7e6fe60f4fedcedcba00a88c7714dae.zip
- Fix typo in plist [1]
- Install libdb_ido.so conditionally Noticed by: pi [1]
Notes
Notes: svn path=/head/; revision=392076
Diffstat (limited to 'net-mgmt/icinga2')
-rw-r--r--net-mgmt/icinga2/Makefile7
-rw-r--r--net-mgmt/icinga2/pkg-plist2
2 files changed, 8 insertions, 1 deletions
diff --git a/net-mgmt/icinga2/Makefile b/net-mgmt/icinga2/Makefile
index eb47496c5fd7..b9b9a50a0788 100644
--- a/net-mgmt/icinga2/Makefile
+++ b/net-mgmt/icinga2/Makefile
@@ -73,6 +73,13 @@ PGSQL_USES= pgsql
OPTIONS_SUB= yes
.include <bsd.port.options.mk>
+
+.if ! ${PORT_OPTIONS:MMYSQL} && ! ${PORT_OPTIONS:MPGSQL}
+PLIST_SUB+= DBBACKEND="@comment "
+.else
+PLIST_SUB+= DBBACKEND=""
+.endif
+
.if ${OSVERSION} < 1000033
BUILD_DEPENDS+= flex>=2.5.31:${PORTSDIR}/textproc/flex
CMAKE_ARGS+= -DFLEX_EXECUTABLE:STRING=${LOCALBASE}/bin/flex
diff --git a/net-mgmt/icinga2/pkg-plist b/net-mgmt/icinga2/pkg-plist
index 05214ed2767a..cb2c1cb36e05 100644
--- a/net-mgmt/icinga2/pkg-plist
+++ b/net-mgmt/icinga2/pkg-plist
@@ -42,7 +42,7 @@ lib/icinga2/libchecker.so
lib/icinga2/libcli.so
lib/icinga2/libcompat.so
lib/icinga2/libconfig.so
-%%MYSQL%%%%PGSQL%%llib/icinga2/libdb_ido.so
+%%DBBACKEND%%lib/icinga2/libdb_ido.so
%%MYSQL%%lib/icinga2/libdb_ido_mysql.so
%%PGSQL%%lib/icinga2/libdb_ido_pgsql.so
lib/icinga2/libexecvpe.so