diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-05 13:45:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-05 13:45:57 +0000 |
commit | 3200440fc476ef13b2088bce5268fb18f91f5827 (patch) | |
tree | 52eab803265024ac648fce43925a2956ce821258 /games-fps/avp-cvs | |
parent | Fix bug #36931 (diff) | |
download | historical-3200440fc476ef13b2088bce5268fb18f91f5827.tar.gz historical-3200440fc476ef13b2088bce5268fb18f91f5827.tar.bz2 historical-3200440fc476ef13b2088bce5268fb18f91f5827.zip |
warning about glx usage
Diffstat (limited to 'games-fps/avp-cvs')
-rw-r--r-- | games-fps/avp-cvs/avp-cvs-20031110.ebuild | 11 |
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 |