With MySQL deselected from config, the port fails to build: [...] -- Found BISON: /usr/local/bin/bison (Required is at least version "2.3.0") -- Found FLEX: 2.5.39 (Required is at least version "2.5.31") -- Cannot find MySQL. Include dir: MYSQL_INCLUDE_DIR-NOTFOUND library dir: CMake Error at lib/db_ido_mysql/CMakeLists.txt:62 (message): You have selected MySQL support, but MySQL could not be found. -- Configuring incomplete, errors occurred! See also "/usr/ports/net-mgmt/icinga2/work/icinga2-2.2.0/CMakeFiles/CMakeOutput.log". See also "/usr/ports/net-mgmt/icinga2/work/icinga2-2.2.0/CMakeFiles/CMakeError.log". make showconfig: ===> The following configuration options are available for icinga2-2.2.0: DOCS=on: Build and/or install documentation ====> Options available for the multi BACKEND: you have to choose at least one of them MYSQL=off: MySQL database support PGSQL=on: PostgreSQL database support ====> Build and/or install plugins: you can only select none or one of them MONPLUGINS=on: Plugins from monitoring-plugins.org NAGPLUGINS=off: Plugins from nagios-plugins.org ===> Use 'make config' to modify these settings
Auto-assigned to maintainer lme@FreeBSD.org
Thanks for the PR. Will look into it.
A commit references this bug: Author: lme Date: Tue Nov 25 16:29:14 UTC 2014 New revision: 373415 URL: https://svnweb.freebsd.org/changeset/ports/373415 Log: - Fix build when not both database backends are selected - Fix plist - Bump PORTREVISION PR: 195186 Submitted by: ohartman@zedat.fu-berlin.de Changes: head/net-mgmt/icinga2/Makefile head/net-mgmt/icinga2/files/patch-CMakeLists.txt head/net-mgmt/icinga2/pkg-plist
The fix has been already committed, so I am closing this PR.