From: Brian Evans Date: Fri, 17 Mar 2017 13:13:56 +0000 (-0400) Subject: eclass/mysql-multilib-r1: Set usex values for two variables X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=abf90a0af3dbc7e14f4937ddb6defcb0cef7326b;p=gentoo.git eclass/mysql-multilib-r1: Set usex values for two variables --- diff --git a/eclass/mysql-multilib-r1.eclass b/eclass/mysql-multilib-r1.eclass index c22ff72f0876..d80d1b52ca89 100644 --- a/eclass/mysql-multilib-r1.eclass +++ b/eclass/mysql-multilib-r1.eclass @@ -392,7 +392,7 @@ multilib_src_configure() { -DINSTALL_SQLBENCHDIR=share/mysql -DINSTALL_SUPPORTFILESDIR=${EPREFIX}/usr/share/mysql -DWITH_COMMENT="Gentoo Linux ${PF}" - -DWITH_UNIT_TESTS=$(usex test) + -DWITH_UNIT_TESTS=$(usex test ON OFF) -DWITH_LIBEDIT=0 -DWITH_ZLIB=system -DWITHOUT_LIBWRAP=1 @@ -402,7 +402,7 @@ multilib_src_configure() { -DWITH_DEFAULT_COMPILER_OPTIONS=0 -DWITH_DEFAULT_FEATURE_SET=0 -DINSTALL_SYSTEMD_UNITDIR="$(systemd_get_systemunitdir)" - -DENABLE_STATIC_LIBS=$(usex static-libs) + -DENABLE_STATIC_LIBS=$(usex static-libs ON OFF) # The build forces this to be defined when cross-compiling. We pass it # all the time for simplicity and to make sure it is actually correct. -DSTACK_DIRECTION=$(tc-stack-grows-down && echo -1 || echo 1)