summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2015-09-18 10:58:32 -0400
committerBrian Evans <grknight@gentoo.org>2015-09-18 10:58:32 -0400
commitdde2f5946381ac134b3eb9be94d744c979a61027 (patch)
tree62c45fb4c5cdc0b12141ddbaa3a872d8f380549d /eclass
parentUpdate mysql eclasses with code to support new dev-db/percona-server (diff)
downloadgentoo-dde2f5946381ac134b3eb9be94d744c979a61027.tar.gz
gentoo-dde2f5946381ac134b3eb9be94d744c979a61027.tar.bz2
gentoo-dde2f5946381ac134b3eb9be94d744c979a61027.zip
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@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mysql-multilib.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/mysql-multilib.eclass b/eclass/mysql-multilib.eclass
index d880267f2856..2e73ccfb71d5 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