Add --missing=true to built_with_use wrt bug 560732
authorBrian Evans <grknight@gentoo.org>
Fri, 18 Sep 2015 14:58:32 +0000 (10:58 -0400)
committerBrian Evans <grknight@gentoo.org>
Fri, 18 Sep 2015 14:58:32 +0000 (10:58 -0400)
This fixes the case of upgrading from a version without the flag to
a version with the flag.

Signed-off-by: Brian Evans <grknight@gentoo.org>
eclass/mysql-multilib.eclass

index d880267f28565a4ef09fd1f9e1ae256d00e05425..2e73ccfb71d53dc3f1e37355be8623fdda910bd6 100644 (file)
@@ -795,7 +795,7 @@ mysql-multilib_pkg_preinst() {
                if [[ -z ${REPLACING_VERSIONS} && -e "${EROOT}usr/$(get_libdir)/libmysqlclient.so" ]] ; then
                        SHOW_ABI_MESSAGE=1
                elif [[ ${REPLACING_VERSIONS} && -e "${EROOT}usr/$(get_libdir)/libmysqlclient.so" ]] && \
-                       in_iuse client-libs && ! built_with_use ${CATEGORY}/${PN} client-libs ; then
+                       in_iuse client-libs && ! built_with_use --missing=true ${CATEGORY}/${PN} client-libs ; then
                        SHOW_ABI_MESSAGE=1
                fi