diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-02-21 06:29:29 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-02-21 06:29:29 +0000 |
commit | 4ab1ce8381fa58a351a06084efa5b5baadd82333 (patch) | |
tree | 637271784234cff1eaab6f1f2eec2338c09f594d /media-libs/coin | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-4ab1ce8381fa58a351a06084efa5b5baadd82333.tar.gz gentoo-2-4ab1ce8381fa58a351a06084efa5b5baadd82333.tar.bz2 gentoo-2-4ab1ce8381fa58a351a06084efa5b5baadd82333.zip |
*** empty log message ***
Diffstat (limited to 'media-libs/coin')
-rw-r--r-- | media-libs/coin/coin-20010215.build | 11 |
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 } |