eclass/mysql-multilib-r1: Set usex values for two variables
authorBrian Evans <grknight@gentoo.org>
Fri, 17 Mar 2017 13:13:56 +0000 (09:13 -0400)
committerBrian Evans <grknight@gentoo.org>
Fri, 17 Mar 2017 13:15:05 +0000 (09:15 -0400)
eclass/mysql-multilib-r1.eclass

index c22ff72f08764f5acba02a6daa4de719a3dd1884..d80d1b52ca895d9cf4a51d689dd2161d0621b4af 100644 (file)
@@ -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)