summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-05 13:45:57 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-05 13:45:57 +0000
commit5c8f384eabff3c9000ca285e6e06e52148df5415 (patch)
treecb4fb7bf859bd16d5329eab6439c6254f0b2c90b /games-fps/avp-cvs
parentFix bug #36931 (diff)
downloadgentoo-2-5c8f384eabff3c9000ca285e6e06e52148df5415.tar.gz
gentoo-2-5c8f384eabff3c9000ca285e6e06e52148df5415.tar.bz2
gentoo-2-5c8f384eabff3c9000ca285e6e06e52148df5415.zip
warning about glx usage
Diffstat (limited to 'games-fps/avp-cvs')
-rw-r--r--games-fps/avp-cvs/avp-cvs-20031110.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/games-fps/avp-cvs/avp-cvs-20031110.ebuild b/games-fps/avp-cvs/avp-cvs-20031110.ebuild
index 30ebe7613a87..15c1421f3ed2 100644
--- a/games-fps/avp-cvs/avp-cvs-20031110.ebuild
+++ b/games-fps/avp-cvs/avp-cvs-20031110.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/avp-cvs/avp-cvs-20031110.ebuild,v 1.3 2004/01/03 18:10:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/avp-cvs/avp-cvs-20031110.ebuild,v 1.4 2004/01/05 13:45:57 vapier Exp $
#ECVS_SERVER="icculus.org:/cvs/cvsroot"
ECVS_PASS="anonymous"
@@ -20,7 +20,14 @@ DEPEND="x11-base/xfree
media-libs/libsdl
>=sys-apps/sed-4"
-S="${WORKDIR}/${ECVS_MODULE}"
+S=${WORKDIR}/${ECVS_MODULE}
+
+pkg_setup() {
+ if has_version 'media-video/nvidia-glx' && has_version '<media-video/nvidia-glx-1.0.5328' ; then
+ ewarn "Your version of opengl may not allow this package to compile."
+ ewarn "You need either the xfree opengl or nvidia-glx at least version 1.0.5328."
+ fi
+}
src_unpack() {
if [ "${ECVS_SERVER}" == "offline" ] ; then