diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2007-03-09 06:37:31 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2007-03-09 06:37:31 +0000 |
commit | f3937c62d31265a5ddd2bf3060cfb8e57d7336ee (patch) | |
tree | 8ef063b63627af8e0c72842607306ea850f2e092 /sci-electronics/geda/geda-20060123.ebuild | |
parent | remove unused licenses (diff) | |
download | gentoo-2-f3937c62d31265a5ddd2bf3060cfb8e57d7336ee.tar.gz gentoo-2-f3937c62d31265a5ddd2bf3060cfb8e57d7336ee.tar.bz2 gentoo-2-f3937c62d31265a5ddd2bf3060cfb8e57d7336ee.zip |
Fixed compilation with >=dev-scheme/guile-1.8
(Portage version: 2.1.2.1)
Diffstat (limited to 'sci-electronics/geda/geda-20060123.ebuild')
-rw-r--r-- | sci-electronics/geda/geda-20060123.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sci-electronics/geda/geda-20060123.ebuild b/sci-electronics/geda/geda-20060123.ebuild index 489077c101f4..8339591119d4 100644 --- a/sci-electronics/geda/geda-20060123.ebuild +++ b/sci-electronics/geda/geda-20060123.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-20060123.ebuild,v 1.7 2007/03/03 14:45:00 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/geda-20060123.ebuild,v 1.8 2007/03/09 06:37:31 calchan Exp $ inherit eutils @@ -28,13 +28,19 @@ SLOT="0" DEPEND=">=dev-libs/glib-1.2.10 >=x11-libs/gtk+-2.2 >=dev-scheme/guile-1.6.3 - <dev-scheme/guile-1.8 >=sys-libs/zlib-1.1.0 >=media-libs/libpng-1.2.0 >=dev-util/pkgconfig-0.15.0 >=sci-libs/libgdgeda-2.0.15 >=sci-libs/libgeda-${PV}" +pkg_setup() { + if has_version ">=dev-scheme/guile-1.8" ; then + 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 +} + src_unpack() { unpack geda-${PV}.tar.gz unpack geda-docs-${PV}.tar.gz |