commit:     dde2f5946381ac134b3eb9be94d744c979a61027
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 18 14:58:32 2015 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Sep 18 14:58:32 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dde2f594

Add --missing=true to built_with_use wrt bug 560732

This fixes the case of upgrading from a version without the flag to
a version with the flag.

Signed-off-by: Brian Evans <grknight <AT> gentoo.org>

 eclass/mysql-multilib.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mysql-multilib.eclass b/eclass/mysql-multilib.eclass
index d880267..2e73ccf 100644
--- a/eclass/mysql-multilib.eclass
+++ b/eclass/mysql-multilib.eclass
@@ -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
 

Reply via email to