summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-09-07 21:43:36 +0000
committerDan Armak <danarmak@gentoo.org>2002-09-07 21:43:36 +0000
commit48b1202db102f0892fb0b3749c1f70bbb32201b4 (patch)
treee59db5eb6417aff70ca967953c50ad0154918fe8 /eclass/kde-dist.eclass
parenttex USE flag is supposed to be tetex (diff)
downloadhistorical-48b1202db102f0892fb0b3749c1f70bbb32201b4.tar.gz
historical-48b1202db102f0892fb0b3749c1f70bbb32201b4.tar.bz2
historical-48b1202db102f0892fb0b3749c1f70bbb32201b4.zip
fix really stupid bug that disabled enable-final
Diffstat (limited to 'eclass/kde-dist.eclass')
-rw-r--r--eclass/kde-dist.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/kde-dist.eclass b/eclass/kde-dist.eclass
index f40290392c19..adf00a8261ea 100644
--- a/eclass/kde-dist.eclass
+++ b/eclass/kde-dist.eclass
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-dist.eclass,v 1.19 2002/09/07 20:46:11 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-dist.eclass,v 1.20 2002/09/07 21:43:36 danarmak Exp $
# This is the kde-dist eclass for >=2.2.1 kde base packages. Don't use for kdelibs though :-)
# Don't use it for e.g. kdevelop, koffice because of their separate versionnig schemes.
inherit kde-base kde.org
@@ -18,8 +18,12 @@ DESCRIPTION="KDE ${PV} - "
HOMEPAGE="http://www.kde.org/"
# doesn't work well for unstable versions
-[ "$PV" == "3.1_alpha1" -o "$PV" == "3.1_beta1" -o "$PV" == "5" ] || ( myconf="$myconf --enable-final" && debug-print "added enable-final" )
+if [ "$PV" != "3.1_alpha1" -a "$PV" != "3.1_beta1" -a "$PV" != "5" ]; then
+ myconf="$myconf --enable-final"
+ debug-print "$ECLASS: added enable-final"
+fi
LICENSE="GPL-2"
SLOT="$KDEMAJORVER.$KDEMINORVER"
+