summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-04-28 05:24:54 +0000
committerAchim Gottinger <achim@gentoo.org>2001-04-28 05:24:54 +0000
commitad383f94f1f6714c925c4ab3461b17ae3fd70715 (patch)
tree6dcbfc86eeb723ade53d54cd76a655fbd28134b6 /media-libs/mesa
parentAdded virtual/glu and virtual/glut provided by mesa-glu (diff)
downloadgentoo-2-ad383f94f1f6714c925c4ab3461b17ae3fd70715.tar.gz
gentoo-2-ad383f94f1f6714c925c4ab3461b17ae3fd70715.tar.bz2
gentoo-2-ad383f94f1f6714c925c4ab3461b17ae3fd70715.zip
Added virtual/glu and virtual/glut to PROVIDE if USE X is set
Diffstat (limited to 'media-libs/mesa')
-rw-r--r--media-libs/mesa/mesa-3.4-r1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/media-libs/mesa/mesa-3.4-r1.ebuild b/media-libs/mesa/mesa-3.4-r1.ebuild
index 24df0b9a925d..99a634006410 100644
--- a/media-libs/mesa/mesa-3.4-r1.ebuild
+++ b/media-libs/mesa/mesa-3.4-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-3.4-r1.ebuild,v 1.4 2001/04/23 19:59:36 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-3.4-r1.ebuild,v 1.5 2001/04/28 05:24:54 achim Exp $
P=MesaLib-${PV}
A0=${P}.tar.bz2
@@ -18,7 +18,12 @@ DEPEND="virtual/glibc
ggi? ( >=media-libs/libggi-2.0_beta3 )
svga? ( >=media-libs/svgalib-1.4.2-r1 )"
-PROVIDE="virtual/opengl"
+if [ "`use X`" ]
+then
+ PROVIDE="virtual/opengl virtual/glu virtual/glut"
+else
+ PROVIDE="virtual/opengl"
+fi
src_compile() {