diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2007-04-07 20:24:41 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2007-04-07 20:24:41 +0000 |
commit | 60ecfd2f76ce751fd1697c506843b07de260b443 (patch) | |
tree | fd7e91de09b0fe1ca3b168cbbb9311d998a08535 | |
parent | Add patch from Debian to fix C/C++ linkage declaration collisions, bug (diff) | |
download | gentoo-2-60ecfd2f76ce751fd1697c506843b07de260b443.tar.gz gentoo-2-60ecfd2f76ce751fd1697c506843b07de260b443.tar.bz2 gentoo-2-60ecfd2f76ce751fd1697c506843b07de260b443.zip |
Fixed bug #173398 again, thanks to Matteo Azzali.
(Portage version: 2.1.2.2)
-rw-r--r-- | sci-electronics/geda/geda-20070216.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sci-electronics/geda/geda-20070216.ebuild b/sci-electronics/geda/geda-20070216.ebuild index 5d60ab26b79c..e0d75adb5f54 100644 --- a/sci-electronics/geda/geda-20070216.ebuild +++ b/sci-electronics/geda/geda-20070216.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/geda-20070216.ebuild,v 1.3 2007/04/05 07:00:21 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/geda-20070216.ebuild,v 1.4 2007/04/07 20:24:41 calchan Exp $ inherit eutils @@ -31,7 +31,11 @@ pkg_setup() { built_with_use "dev-scheme/guile" deprecated \ || die "You need either <dev-scheme/guile-1.8, or >=dev-scheme/guile-1.8 with USE=deprecated" fi - use gd && built_with_use sci-libs/libgeda gd || die "sci-libs/libgeda must be compiled with USE=gd" + if use gd ; then + built_with_use sci-libs/libgeda gd || die "sci-libs/libgeda must be compiled with USE=gd" + else + ! built_with_use sci-libs/libgeda gd || die "sci-libs/libgeda must be compiled with USE=-gd" + fi } src_compile() { |