summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-07-31 06:42:33 +0000
committerMike Frysinger <vapier@gentoo.org>2004-07-31 06:42:33 +0000
commit323fcdeff64d5046ed016c56427fdaaa120b7d82 (patch)
tree73cc523872d3e4e9365d7b573701aad4f5059afc /media-libs/libsdl
parentstable on amd64 (Manifest recommit) (diff)
downloadgentoo-2-323fcdeff64d5046ed016c56427fdaaa120b7d82.tar.gz
gentoo-2-323fcdeff64d5046ed016c56427fdaaa120b7d82.tar.bz2
gentoo-2-323fcdeff64d5046ed016c56427fdaaa120b7d82.zip
put in warning about no{audio,video,joystick}
Diffstat (limited to 'media-libs/libsdl')
-rw-r--r--media-libs/libsdl/libsdl-1.2.7-r2.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/media-libs/libsdl/libsdl-1.2.7-r2.ebuild b/media-libs/libsdl/libsdl-1.2.7-r2.ebuild
index 8ca312e47ef9..69addb3d83e6 100644
--- a/media-libs/libsdl/libsdl-1.2.7-r2.ebuild
+++ b/media-libs/libsdl/libsdl-1.2.7-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.7-r2.ebuild,v 1.3 2004/07/29 03:29:33 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.7-r2.ebuild,v 1.4 2004/07/31 06:42:33 vapier Exp $
inherit fixheadtails eutils
@@ -31,6 +31,16 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/SDL-${PV}
+pkg_setup() {
+ if use noaudio || use novideo || use nojoystick ; then
+ ewarn "Since you've chosen to turn off some of libsdl's functionality,"
+ ewarn "don't bother filing libsdl-related bugs until trying to remerge"
+ ewarn "libsdl without the no* flags in USE. You need to know what"
+ ewarn "you're doing to selectively turn off parts of libsdl."
+ sleep 30
+ fi
+}
+
src_unpack() {
unpack ${A}
cd ${S}