diff options
author | 2009-03-05 09:25:01 +0000 | |
---|---|---|
committer | 2009-03-05 09:25:01 +0000 | |
commit | d4d0cc4eab395d8b178a97017a07dcb8150470e0 (patch) | |
tree | 9e9993b34c2f8d87721c7056142bbbd8583b1c98 /eclass | |
parent | Drop duplicate libXmu in RDEPEND #258541 by Mr. Anderson. (diff) | |
download | gentoo-2-d4d0cc4eab395d8b178a97017a07dcb8150470e0.tar.gz gentoo-2-d4d0cc4eab395d8b178a97017a07dcb8150470e0.tar.bz2 gentoo-2-d4d0cc4eab395d8b178a97017a07dcb8150470e0.zip |
Correct license extraction in case of 4.5 packages
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/qt4-build.eclass | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass index 086dcd430194..2b6cc1bd9d7b 100644 --- a/eclass/qt4-build.eclass +++ b/eclass/qt4-build.eclass @@ -1,6 +1,6 @@ # Copyright 2007-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.25 2009/03/04 20:37:08 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.26 2009/03/05 09:25:01 hwoarang Exp $ # @ECLASS: qt4-build.eclass # @MAINTAINER: @@ -92,8 +92,13 @@ qt4-build_pkg_setup() { } qt4-build_src_unpack() { - local target targets - for target in configure LICENSE.{GPL2,GPL3} projects.pro \ + local target targets licenses + if version_is_at_least 4.5 ${PV} ; then + licenses="LICENSE.GPL3 LICENSE.LGPL" + else + licenses="LICENSE.GPL2 LICENSE.GPL3" + fi + for target in configure ${licenses} projects.pro \ src/{qbase,qt_targets,qt_install}.pri bin config.tests mkspecs qmake \ ${QT4_EXTRACT_DIRECTORIES}; do targets="${targets} ${MY_P}/${target}" |