summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-02-21 06:25:14 +0000
committerAchim Gottinger <achim@gentoo.org>2001-02-21 06:25:14 +0000
commit85b822770cc7db4ab8cedb226e01ac5b7d3a18a6 (patch)
tree8065a2f0e8e61fd4acd3dced550cc9e6a0b27233 /media-libs/coin
parent*** empty log message *** (diff)
downloadhistorical-85b822770cc7db4ab8cedb226e01ac5b7d3a18a6.tar.gz
historical-85b822770cc7db4ab8cedb226e01ac5b7d3a18a6.tar.bz2
historical-85b822770cc7db4ab8cedb226e01ac5b7d3a18a6.zip
*** empty log message ***
Diffstat (limited to 'media-libs/coin')
-rw-r--r--media-libs/coin/coin-20010215.build11
1 files changed, 8 insertions, 3 deletions
diff --git a/media-libs/coin/coin-20010215.build b/media-libs/coin/coin-20010215.build
index 5f8b082aad4b..a4b4c9a3b832 100644
--- a/media-libs/coin/coin-20010215.build
+++ b/media-libs/coin/coin-20010215.build
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Your Name <your email>
-# $Header: /var/cvsroot/gentoo-x86/media-libs/coin/coin-20010215.build,v 1.1 2001/02/15 18:07:07 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/coin/coin-20010215.build,v 1.2 2001/02/21 06:25:14 achim Exp $
A=Coin-${PV}.tar.gz
@@ -10,12 +10,17 @@ DESCRIPTION="An OpenSource implementation of SGI's OpenInventor"
SRC_URI="ftp://ftp.coin3d.org/pub/snapshots/${A}"
HOMEPAGE="http://www.coinn3d.org"
-DEPEND=">=x11-base/xfree-4.0.2
+DEPEND="X? ( >=x11-base/xfree-4.0.2 )
>=media-libs/mesa-3.4"
src_compile() {
- try ./configure --prefix=/usr/X11R6 --host=${CHOST} --with-x --with-mesa
+ local myconf
+ if [ -z "`use X`" ]
+ then
+ myconf="--without-x"
+ fi
+ try ./configure --prefix=/usr/X11R6 --host=${CHOST} $myconf
try make
}