summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-06-09 15:37:54 +0000
committerAron Griffis <agriffis@gentoo.org>2004-06-09 15:37:54 +0000
commit4bb940c2f71868964b4ba1122e8588d5cc3d49c8 (patch)
tree5e6affcd6a980bb5ac0be35ae50fa25ebe0873c5 /media-libs
parentadd missing newline at end of file (Manifest recommit) (diff)
downloadgentoo-2-4bb940c2f71868964b4ba1122e8588d5cc3d49c8.tar.gz
gentoo-2-4bb940c2f71868964b4ba1122e8588d5cc3d49c8.tar.bz2
gentoo-2-4bb940c2f71868964b4ba1122e8588d5cc3d49c8.zip
Fix use invocation
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libsdl/ChangeLog6
-rw-r--r--media-libs/libsdl/libsdl-1.2.6-r3.ebuild10
-rw-r--r--media-libs/libsdl/libsdl-1.2.7.ebuild2
3 files changed, 11 insertions, 7 deletions
diff --git a/media-libs/libsdl/ChangeLog b/media-libs/libsdl/ChangeLog
index af162c601c5d..75652fe4d7e1 100644
--- a/media-libs/libsdl/ChangeLog
+++ b/media-libs/libsdl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/libsdl
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/ChangeLog,v 1.49 2004/06/07 19:15:05 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/ChangeLog,v 1.50 2004/06/09 15:37:54 agriffis Exp $
+
+ 09 Jun 2004; Aron Griffis <agriffis@gentoo.org> libsdl-1.2.6-r3.ebuild,
+ libsdl-1.2.7.ebuild:
+ Fix use invocation
07 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org>
files/1.2.7-joystick.patch:
diff --git a/media-libs/libsdl/libsdl-1.2.6-r3.ebuild b/media-libs/libsdl/libsdl-1.2.6-r3.ebuild
index 16af643c0863..1997a4e5beaf 100644
--- a/media-libs/libsdl/libsdl-1.2.6-r3.ebuild
+++ b/media-libs/libsdl/libsdl-1.2.6-r3.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.6-r3.ebuild,v 1.8 2004/03/30 05:24:29 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.6-r3.ebuild,v 1.9 2004/06/09 15:37:54 agriffis Exp $
inherit eutils
@@ -42,7 +42,7 @@ src_unpack() {
sed -i \
-e 's:head -1:head -n 1:' configure \
|| die "sed configure failed"
- if [ `use nas` ] && [ ! `use X` ] ; then #32447
+ if use nas && ! use X ; then #32447
sed -i \
-e 's:-DNAS_SUPPORT:-DNAS_SUPPORT -I/usr/X11R6/include:' \
-e 's:-laudio:-laudio -L/usr/X11R6/lib:' \
@@ -52,11 +52,11 @@ src_unpack() {
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"
# asm is b0rken in 1.2.6
# http://www.libsdl.org/pipermail/sdl/2003-October/057304.html
diff --git a/media-libs/libsdl/libsdl-1.2.7.ebuild b/media-libs/libsdl/libsdl-1.2.7.ebuild
index 36243e28cb1f..3925f567ed1f 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.4 2004/04/18 20:36:59 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.7.ebuild,v 1.5 2004/06/09 15:37:54 agriffis Exp $
inherit fixheadtails eutils