diff options
author | Colin Kingsley <tercel@gentoo.org> | 2005-06-01 16:33:25 +0000 |
---|---|---|
committer | Colin Kingsley <tercel@gentoo.org> | 2005-06-01 16:33:25 +0000 |
commit | 62071a3d5545efc4aba0fde6fff62f20d000e552 (patch) | |
tree | a9a1af081b3fa815938a80858fea94519d778e56 /dev-python/visual | |
parent | fix smeg (diff) | |
download | historical-62071a3d5545efc4aba0fde6fff62f20d000e552.tar.gz historical-62071a3d5545efc4aba0fde6fff62f20d000e552.tar.bz2 historical-62071a3d5545efc4aba0fde6fff62f20d000e552.zip |
Fix use flag conditionals in src_compile
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-python/visual')
-rw-r--r-- | dev-python/visual/Manifest | 2 | ||||
-rw-r--r-- | dev-python/visual/visual-3.2.1.ebuild | 18 |
2 files changed, 15 insertions, 5 deletions
diff --git a/dev-python/visual/Manifest b/dev-python/visual/Manifest index 11f0fa0eb66d..027c1c6e3887 100644 --- a/dev-python/visual/Manifest +++ b/dev-python/visual/Manifest @@ -1,4 +1,4 @@ MD5 9f743338261e6f4f2a1313e13b5937e8 ChangeLog 326 MD5 dc0b1d0f6421b62d34ca91dd8ac2d52d metadata.xml 255 -MD5 e758aba2cc1ff0b6e5e400a63356d77b visual-3.2.1.ebuild 1529 +MD5 d3182266067c2f9fc9eb2543e3beb4ca visual-3.2.1.ebuild 1774 MD5 6d6e6100c2055b0082f7ddbee8f2d1e2 files/digest-visual-3.2.1 65 diff --git a/dev-python/visual/visual-3.2.1.ebuild b/dev-python/visual/visual-3.2.1.ebuild index 0194877e1a0c..93f43119a199 100644 --- a/dev-python/visual/visual-3.2.1.ebuild +++ b/dev-python/visual/visual-3.2.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-3.2.1.ebuild,v 1.2 2005/06/01 02:21:00 tercel Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-3.2.1.ebuild,v 1.3 2005/06/01 16:33:25 tercel Exp $ inherit distutils @@ -23,15 +23,24 @@ DEPEND=">=dev-lang/python-2.3 numarray? ( >=dev-python/numarray-1.0 ) !numeric? ( !numarray? (dev-python/numeric) )" +RESTRICT="nomirror" + src_compile() { + local myconf="--without-numarray --without-numeric" + echo if useq numeric; then einfo "Building with Numeric support" - elif useq numarray; then + myconf=${myconf/--without-numeric} + fi + if useq numarray; then einfo "Building with Numarray support" - else + myconf=${myconf/--without-numarray} + fi + if ! useq numeric && ! useq numarray; then einfo "Support for Numeric or Numarray was not specified." einfo "Building with Numeric support" + myconf=${myconf/--without-numarray} fi echo @@ -40,6 +49,7 @@ src_compile() { --with-example-dir=/usr/share/doc/${PF}/examples \ $(use_enable doc docs ) \ $(use_enable examples ) \ + ${myconf} \ || die "configure failed" emake || die "emake failed" |