summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-cluster/galera/galera-26.4.15.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys-cluster/galera/galera-26.4.15.ebuild b/sys-cluster/galera/galera-26.4.15.ebuild
index 0593b2770b14..8268ec426c17 100644
--- a/sys-cluster/galera/galera-26.4.15.ebuild
+++ b/sys-cluster/galera/galera-26.4.15.ebuild
@@ -16,11 +16,11 @@ S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2 BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
-IUSE="garbd test"
+IUSE="garbd test ssl"
RESTRICT="!test? ( test )"
RDEPEND="
- dev-libs/openssl:=
+ ssl? ( dev-libs/openssl:= )
dev-libs/boost:=
"
DEPEND="
@@ -42,6 +42,14 @@ src_prepare() {
fi
}
+src_configure() {
+ local mycmakeargs=(
+ -DGALERA_WITH_SSL=$(usex ssl)
+ )
+
+ cmake_src_configure
+}
+
src_install() {
dodoc scripts/packages/README scripts/packages/README-MySQL