Skip to content

Commit

Permalink
Add --missing=true to built_with_use wrt bug 560732
Browse files Browse the repository at this point in the history
This fixes the case of upgrading from a version without the flag to
a version with the flag.

Signed-off-by: Brian Evans <[email protected]>
  • Loading branch information
Brian Evans committed Sep 18, 2015
1 parent 2d00da0 commit dde2f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclass/mysql-multilib.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit dde2f59

Please sign in to comment.