Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2015 20:18:11 +0000 (UTC)
From:      Lars Engels <lme@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r392076 - head/net-mgmt/icinga2
Message-ID:  <201507142018.t6EKIBtU021172@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lme
Date: Tue Jul 14 20:18:10 2015
New Revision: 392076
URL: https://svnweb.freebsd.org/changeset/ports/392076

Log:
  - Fix typo in plist [1]
  - Install libdb_ido.so conditionally
  
  Noticed by:	pi [1]

Modified:
  head/net-mgmt/icinga2/Makefile
  head/net-mgmt/icinga2/pkg-plist

Modified: head/net-mgmt/icinga2/Makefile
==============================================================================
--- head/net-mgmt/icinga2/Makefile	Tue Jul 14 20:16:29 2015	(r392075)
+++ head/net-mgmt/icinga2/Makefile	Tue Jul 14 20:18:10 2015	(r392076)
@@ -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

Modified: head/net-mgmt/icinga2/pkg-plist
==============================================================================
--- head/net-mgmt/icinga2/pkg-plist	Tue Jul 14 20:16:29 2015	(r392075)
+++ head/net-mgmt/icinga2/pkg-plist	Tue Jul 14 20:18:10 2015	(r392076)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507142018.t6EKIBtU021172>