diff options
author | Lars Engels <lme@FreeBSD.org> | 2015-07-14 20:18:10 +0000 |
---|---|---|
committer | Lars Engels <lme@FreeBSD.org> | 2015-07-14 20:18:10 +0000 |
commit | a0ae0d2df7e6fe60f4fedcedcba00a88c7714dae (patch) | |
tree | 74531f68147a88781114ad278df66c7791c52666 /net-mgmt/icinga2 | |
parent | 18c0652534da18e0fa7759b4c5645d6e05965201 (diff) | |
download | ports-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/Makefile | 7 | ||||
-rw-r--r-- | net-mgmt/icinga2/pkg-plist | 2 |
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 |