diff options
author | Caleb Tennis <caleb@gentoo.org> | 2007-08-02 11:22:40 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2007-08-02 11:22:40 +0000 |
commit | c0032bad2bcc1d3bbb7e72bc53ccf7bfe507d0f3 (patch) | |
tree | 23da916790031fc36a0a7d8f043566534a64c8a6 /eclass | |
parent | rc1, keywords dropped. (diff) | |
download | gentoo-2-c0032bad2bcc1d3bbb7e72bc53ccf7bfe507d0f3.tar.gz gentoo-2-c0032bad2bcc1d3bbb7e72bc53ccf7bfe507d0f3.tar.bz2 gentoo-2-c0032bad2bcc1d3bbb7e72bc53ccf7bfe507d0f3.zip |
Fix debug flag per bug #187479
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/qt3.eclass | 6 | ||||
-rw-r--r-- | eclass/qt4.eclass | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/eclass/qt3.eclass b/eclass/qt3.eclass index 15f6efb206fc..74e0c566594c 100644 --- a/eclass/qt3.eclass +++ b/eclass/qt3.eclass @@ -1,6 +1,6 @@ # Copyright 2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt3.eclass,v 1.28 2007/07/31 13:42:23 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt3.eclass,v 1.29 2007/08/02 11:22:40 caleb Exp $ # # Author Caleb Tennis <caleb@gentoo.org> # @@ -16,7 +16,7 @@ inherit toolchain-funcs versionator -IUSE="${IUSE} debug" +IUSE="${IUSE}" QTPKG="x11-libs/qt-" QT3MAJORVERSIONS="3.3 3.2 3.1 3.0" @@ -92,7 +92,7 @@ eqmake3() { # some standard config options local configoptplus="CONFIG += no_fixpath" local configoptminus="CONFIG -=" - if use debug; then + if has debug ${IUSE} && use debug; then configoptplus="${configoptplus} debug" configoptminus="${configoptminus} release" else diff --git a/eclass/qt4.eclass b/eclass/qt4.eclass index 9f1979342f7d..0f8b0842e64b 100644 --- a/eclass/qt4.eclass +++ b/eclass/qt4.eclass @@ -1,6 +1,6 @@ # Copyright 2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4.eclass,v 1.21 2007/07/31 13:42:23 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4.eclass,v 1.22 2007/08/02 11:22:40 caleb Exp $ # # Author Caleb Tennis <caleb@gentoo.org> # @@ -15,7 +15,7 @@ inherit eutils multilib toolchain-funcs versionator -IUSE="${IUSE} debug" +IUSE="${IUSE}" QTPKG="x11-libs/qt-" QT4MAJORVERSIONS="4.3 4.2 4.1 4.0" @@ -85,7 +85,7 @@ eqmake4() { echo >> ${LOGFILE} # as a workaround for broken qmake, put everything into file - if use debug; then + if has debug ${IUSE} && use debug; then echo -e "$CONFIG -= release\nCONFIG += no_fixpath debug" >> ${projprofile} else echo -e "$CONFIG -= debug\nCONFIG += no_fixpath release" >> ${projprofile} |