summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-08-27 20:21:13 +0000
committerNick Hadaway <raker@gentoo.org>2002-08-27 20:21:13 +0000
commitab9560957e49cac39ca502253c557b78f2381190 (patch)
treeec155819ad8b412e710d72e97f61275922d145e0 /media-video/avifile
parentremoved redundant "use kde" section. Changed to econf. (diff)
downloadgentoo-2-ab9560957e49cac39ca502253c557b78f2381190.tar.gz
gentoo-2-ab9560957e49cac39ca502253c557b78f2381190.tar.bz2
gentoo-2-ab9560957e49cac39ca502253c557b78f2381190.zip
fixed some invalid script logic regarding "use kde"
Diffstat (limited to 'media-video/avifile')
-rw-r--r--media-video/avifile/ChangeLog5
-rw-r--r--media-video/avifile/avifile-0.7.14.20020802.ebuild19
2 files changed, 12 insertions, 12 deletions
diff --git a/media-video/avifile/ChangeLog b/media-video/avifile/ChangeLog
index 2ca8fa73f547..02d9db9340b5 100644
--- a/media-video/avifile/ChangeLog
+++ b/media-video/avifile/ChangeLog
@@ -1,11 +1,12 @@
# ChangeLog for media-video/avifile
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/ChangeLog,v 1.18 2002/08/27 20:09:00 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/ChangeLog,v 1.19 2002/08/27 20:21:13 raker Exp $
*avifile-0.7.14.20020802 (04 Aug 2002)
17 Aug 2002; Nick Hadaway <raker@gentoo.org> avifile-0.7.14.20020802.ebuild :
- Changed to econf. Removed redundanct "use kde" section.
+ Changed to econf. Removed redundant "use kde" section. Fixed
+ invalid logic in the script.
14 Aug 2002; Martin Schlemmer <azarah@gentoo.org> avifile-0.7.14.20020802.ebuild :
Elibtoolize this one.
diff --git a/media-video/avifile/avifile-0.7.14.20020802.ebuild b/media-video/avifile/avifile-0.7.14.20020802.ebuild
index f6965d0119f4..c73f7e594937 100644
--- a/media-video/avifile/avifile-0.7.14.20020802.ebuild
+++ b/media-video/avifile/avifile-0.7.14.20020802.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/avifile-0.7.14.20020802.ebuild,v 1.3 2002/08/27 20:09:00 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/avifile-0.7.14.20020802.ebuild,v 1.4 2002/08/27 20:21:13 raker Exp $
inherit libtool
@@ -47,15 +47,14 @@ src_compile() {
&& myconf="${myconf} --enable-vorbis" \
|| myconf="${myconf} --disable-vorbis --disable-oggtest --disable-vorbistest"
- use kde \
- && ( \
- myconf="${myconf} --enable-kde" \
- && LDFLAGS="${LDFLAGS} -L${KDEDIR}/lib" \
- && myconf="${myconf} --with-extra-libraries=${KDEDIR}" \
- ) || (
- myconf="${myconf} --disable-kde" \
- && LDFLAGS="${LDFLAGS}"
- )
+ if [ `use kde` ]
+ then
+ myconf="${myconf} --enable-kde --with-extra-libraries=${KDEDIR}"
+ LDFLAGS="${LDFLAGS} -L${KDEDIR}/lib"
+ else
+ myconf="${myconf} --disable-kde"
+ LDFLAGS="${LDFLAGS}"
+ fi
# Rather not use custom ones here .. build should set as high as
# safe by itself.