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 | d97499efff508427874485d0fa2c01c2d328628d (patch) | |
tree | 883f6b389132d30193e56cb85b3a4080a010918f /eclass | |
parent | last minute fix. (diff) | |
download | historical-d97499efff508427874485d0fa2c01c2d328628d.tar.gz historical-d97499efff508427874485d0fa2c01c2d328628d.tar.bz2 historical-d97499efff508427874485d0fa2c01c2d328628d.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 |