summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2015-10-20 10:25:52 -0400
committerBrian Evans <grknight@gentoo.org>2015-10-20 10:52:20 -0400
commit1f6218d9eef8a4cbd65eab42c5ebe2d02b775528 (patch)
treecd04df6f5855e553a983d899cffdf6b55d52a4ef /eclass
parentmysql-multilib.eclass: Add systemd support for >=dev-db/mariadb-10.1.8 (diff)
downloadgentoo-1f6218d9eef8a4cbd65eab42c5ebe2d02b775528.tar.gz
gentoo-1f6218d9eef8a4cbd65eab42c5ebe2d02b775528.tar.bz2
gentoo-1f6218d9eef8a4cbd65eab42c5ebe2d02b775528.zip
mysql-multilib.eclass: Use has_version instead of built_with_use
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 702232621965..b4b3e69512bf 100644
--- a/eclass/mysql-multilib.eclass
+++ b/eclass/mysql-multilib.eclass
@@ -809,7 +809,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 --missing true ${CATEGORY}/${PN} client-libs ; then
+ in_iuse client-libs && has_version "${CATEGORY}/${PN}[-client-libs(+)]" ; then
SHOW_ABI_MESSAGE=1
fi