projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb26a75
)
mysql-multilib.eclass: Use has_version instead of built_with_use
author
Brian Evans
<grknight@gentoo.org>
Tue, 20 Oct 2015 14:25:52 +0000
(10:25 -0400)
committer
Brian Evans
<grknight@gentoo.org>
Tue, 20 Oct 2015 14:52:20 +0000
(10:52 -0400)
Signed-off-by: Brian Evans <grknight@gentoo.org>
eclass/mysql-multilib.eclass
patch
|
blob
|
history
diff --git
a/eclass/mysql-multilib.eclass
b/eclass/mysql-multilib.eclass
index 702232621965c5324d7503791b3d2cffc2441f61..b4b3e69512bfa3efe264a028868652eaf57c5b47 100644
(file)
--- 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