diff options
author | 2004-06-09 17:09:42 +0000 | |
---|---|---|
committer | 2004-06-09 17:09:42 +0000 | |
commit | 5a30a4154acbdb1c34ca382600190f03d3f30561 (patch) | |
tree | 436e60e8d39af32144cc4657599cae5039c8f085 /media-video/mjpegtools/mjpegtools-1.6.1.90-r2.ebuild | |
parent | Fix use invocation (Manifest recommit) (diff) | |
download | gentoo-2-5a30a4154acbdb1c34ca382600190f03d3f30561.tar.gz gentoo-2-5a30a4154acbdb1c34ca382600190f03d3f30561.tar.bz2 gentoo-2-5a30a4154acbdb1c34ca382600190f03d3f30561.zip |
Fix use invocation
Diffstat (limited to 'media-video/mjpegtools/mjpegtools-1.6.1.90-r2.ebuild')
-rw-r--r-- | media-video/mjpegtools/mjpegtools-1.6.1.90-r2.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/media-video/mjpegtools/mjpegtools-1.6.1.90-r2.ebuild b/media-video/mjpegtools/mjpegtools-1.6.1.90-r2.ebuild index 4f282ff3920d..229e880a3449 100644 --- a/media-video/mjpegtools/mjpegtools-1.6.1.90-r2.ebuild +++ b/media-video/mjpegtools/mjpegtools-1.6.1.90-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/mjpegtools-1.6.1.90-r2.ebuild,v 1.6 2004/05/12 12:40:14 pappy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/mjpegtools-1.6.1.90-r2.ebuild,v 1.7 2004/06/09 17:09:41 agriffis Exp $ inherit flag-o-matic gcc eutils @@ -37,19 +37,19 @@ src_compile() { filter-flags -fPIC - [ `use x86` ] && [ `gcc-major-version` -eq 3 ] && append-flags -mno-sse2 + use x86 && [ $(gcc-major-version) -eq 3 ] && append-flags -mno-sse2 - myconf="${myconf} `use_with X x`" - myconf="${myconf} `use_with quicktime`" - myconf="${myconf} `use_enable x86 cmov-extensions`" + myconf="${myconf} $(use_with X x)" + myconf="${myconf} $(use_with quicktime)" + myconf="${myconf} $(use_enable x86 cmov-extensions)" - if [ "`use dv`" ] ; then + if use dv ; then myconf="${myconf} --with-dv=/usr" fi - if [ "`use mmx`" -o "`use 3dnow`" -o "`use sse`" ] ; then + if use mmx || use 3dnow || use sse; then myconf="${myconf} --enable-simd-accel" fi - if [ "`use mmx`" ] ; then + if use mmx ; then myconf="${myconf} --with-jpeg-mmx=/usr/include/jpeg-mmx" fi |