diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-02-24 15:56:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-02-24 15:56:17 +0000 |
commit | 622a3632d653960bc3e0a035adc4bfb21123add6 (patch) | |
tree | 33b3093767c21a77aa9b4985e90352f8111f916a /media-libs/libsdl | |
parent | version bump (diff) | |
download | historical-622a3632d653960bc3e0a035adc4bfb21123add6.tar.gz historical-622a3632d653960bc3e0a035adc4bfb21123add6.tar.bz2 historical-622a3632d653960bc3e0a035adc4bfb21123add6.zip |
touchups
Diffstat (limited to 'media-libs/libsdl')
-rw-r--r-- | media-libs/libsdl/libsdl-1.2.7.ebuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/media-libs/libsdl/libsdl-1.2.7.ebuild b/media-libs/libsdl/libsdl-1.2.7.ebuild index ac0cc6903cdd..550ecf74eb9a 100644 --- a/media-libs/libsdl/libsdl-1.2.7.ebuild +++ b/media-libs/libsdl/libsdl-1.2.7.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-libs/libsdl/libsdl-1.2.7.ebuild,v 1.1 2004/02/24 15:45:34 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.7.ebuild,v 1.2 2004/02/24 15:56:17 vapier Exp $ inherit fixheadtails eutils @@ -28,7 +28,7 @@ RDEPEND=">=media-libs/audiofile-0.1.9 DEPEND="${RDEPEND} x86? ( dev-lang/nasm )" -S="${WORKDIR}/SDL-${PV}" +S=${WORKDIR}/SDL-${PV} src_unpack() { unpack ${A} @@ -38,20 +38,20 @@ src_unpack() { ht_fix_file configure - if [ `use nas` ] && [ ! `use X` ] ; then #32447 + if use nas && ! use X ; then #32447 sed -i \ -e 's:-laudio:-laudio -L/usr/X11R6/lib:' \ - configure || die "nas sed hack failed" + configure || die "nas sed hack failed" fi } src_compile() { local myconf="" - [ `use noaudio` ] && myconf="${myconf} --disable-audio" - [ `use novideo` ] \ + use noaudio && myconf="${myconf} --disable-audio" + use novideo \ && myconf="${myconf} --disable-video" \ || myconf="${myconf} --enable-video-dummy" - [ `use nojoystick` ] && myconf="${myconf} --disable-joystick" + use nojoystick && myconf="${myconf} --disable-joystick" econf \ --enable-events \ |