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
commitaed538cb67b593ca185107d0c7d81c64ed7629ca (patch)
tree27823d8879fed1be8e955b0309b34623d5740d21
parenttex USE flag is supposed to be tetex (diff)
downloadgentoo-2-aed538cb67b593ca185107d0c7d81c64ed7629ca.tar.gz
gentoo-2-aed538cb67b593ca185107d0c7d81c64ed7629ca.tar.bz2
gentoo-2-aed538cb67b593ca185107d0c7d81c64ed7629ca.zip
fix really stupid bug that disabled enable-final
-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"
+