diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-25 14:41:40 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-25 14:41:40 +0000 |
commit | 19554b637d995918a5e81e0e63ba9b8b56f8dd7a (patch) | |
tree | 18a90410d4f365251da9c09df34c9a87cc8aebe7 /eclass/kde.eclass | |
parent | fix a small typo in the changelog (diff) | |
download | historical-19554b637d995918a5e81e0e63ba9b8b56f8dd7a.tar.gz historical-19554b637d995918a5e81e0e63ba9b8b56f8dd7a.tar.bz2 historical-19554b637d995918a5e81e0e63ba9b8b56f8dd7a.zip |
Don't do the checks if the useflag is not enabled.
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r-- | eclass/kde.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass index 384e901953de..2cc8ede59b5e 100644 --- a/eclass/kde.eclass +++ b/eclass/kde.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.155 2006/05/25 11:24:11 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.156 2006/05/25 14:41:40 flameeyes Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -191,7 +191,7 @@ kde_src_compile() { # Visiblity stuff is broken. Just disable it when it's present. export kde_cv_prog_cxx_fvisibility_hidden=no - if hasq kdehiddenvisibility ${IUSE}; then + if hasq kdehiddenvisibility ${IUSE} && use kdehiddenvisibility; then if [[ $(gcc-major-version)$(gcc-minor-version) -ge 41 ]]; then unset kde_cv_prog_cxx_fvisibility_hidden myconf="$myconf $(use_enable kdehiddenvisibility gcc-hidden-visibility)" |