diff options
author | Caleb Tennis <caleb@gentoo.org> | 2005-06-30 13:34:23 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2005-06-30 13:34:23 +0000 |
commit | d60e9ea1f968d8f9910f83319fd0df26f0fa5f29 (patch) | |
tree | ae5d8ab3c4ad9f20c7cca11e5477c4c481153fb5 /eclass | |
parent | last minute fix. (diff) | |
download | gentoo-2-d60e9ea1f968d8f9910f83319fd0df26f0fa5f29.tar.gz gentoo-2-d60e9ea1f968d8f9910f83319fd0df26f0fa5f29.tar.bz2 gentoo-2-d60e9ea1f968d8f9910f83319fd0df26f0fa5f29.zip |
make sure QTDIR is set up
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/qt.eclass | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/eclass/qt.eclass b/eclass/qt.eclass index f5d948ea1930..a8c546a41431 100644 --- a/eclass/qt.eclass +++ b/eclass/qt.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/qt.eclass,v 1.4 2005/06/30 13:29:51 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt.eclass,v 1.5 2005/06/30 13:34:23 caleb Exp $ # # Author Caleb Tennis <caleb@gentoo.org> # @@ -18,6 +18,12 @@ INHERITED="$INHERITED $ECLASS" QTPKG="x11-libs/qt-" QT3VERSIONS="3.3.4-r5 3.3.4-r4 3.3.4-r3 3.3.4-r2 3.3.4-r1 3.3.4 3.3.3-r3 3.3.3-r2 3.3.3-r1 3.3.3 3.3.2 3.3.1-r2 3.3.1-r1 3.3.1 3.3.0-r1 3.3.0 3.2.3-r1 3.2.3 3.2.2-r1 3.2.2 3.2.1-r2 3.2.1-r1 3.2.1 3.2.0 3.1.2-r4 3.1.2-r3 3.1.2-r2 3.1.2-r1 3.1.2 3.1.1-r2 3.1.1-r1 3.1.1 3.1.0-r3 3.1.0-r2 3.1.0-r1 3.1.0" +qt_pkg_setup() { + if [ ! $QTDIR ]; then + QTDIR="/usr/qt/3" + fi +} + qt3_min_version() { echo -n "|| ( " qt3_min_version_list $@ @@ -43,3 +49,5 @@ qt3_min_version_list() { echo -n $VERSIONS } + +EXPORT_FUNCTIONS pkg_setup |