diff options
author | Marijn Schouten <hkbst@gentoo.org> | 2007-06-18 14:54:36 +0000 |
---|---|---|
committer | Marijn Schouten <hkbst@gentoo.org> | 2007-06-18 14:54:36 +0000 |
commit | eef9796b59b9f919f22c1f7da4fc4e8ec2df0d4e (patch) | |
tree | cab780a7f0013746aef1910a609658b7fb75e98f /dev-scheme/guile-lib | |
parent | alpha/ia64/x86 stable wrt #182387 (diff) | |
download | gentoo-2-eef9796b59b9f919f22c1f7da4fc4e8ec2df0d4e.tar.gz gentoo-2-eef9796b59b9f919f22c1f7da4fc4e8ec2df0d4e.tar.bz2 gentoo-2-eef9796b59b9f919f22c1f7da4fc4e8ec2df0d4e.zip |
only check use flags for recent versions of guile, thanks for patch from Steve L <slong@rathaus.eclipse.co.uk>
(Portage version: 2.1.3_rc3)
Diffstat (limited to 'dev-scheme/guile-lib')
-rw-r--r-- | dev-scheme/guile-lib/ChangeLog | 6 | ||||
-rw-r--r-- | dev-scheme/guile-lib/guile-lib-0.1.3.ebuild | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/dev-scheme/guile-lib/ChangeLog b/dev-scheme/guile-lib/ChangeLog index c937a9519248..12636b62a519 100644 --- a/dev-scheme/guile-lib/ChangeLog +++ b/dev-scheme/guile-lib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-scheme/guile-lib # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile-lib/ChangeLog,v 1.1 2007/06/06 23:03:03 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile-lib/ChangeLog,v 1.2 2007/06/18 14:54:36 hkbst Exp $ + + 18 Jun 2007; Marijn Schouten <hkBst@gentoo.org> guile-lib-0.1.3.ebuild: + only check use flags for recent versions of guile, thanks for patch from + Steve L <slong@rathaus.eclipse.co.uk> *guile-lib-0.1.3 (06 Jun 2007) diff --git a/dev-scheme/guile-lib/guile-lib-0.1.3.ebuild b/dev-scheme/guile-lib/guile-lib-0.1.3.ebuild index 05726119da90..e83103db4093 100644 --- a/dev-scheme/guile-lib/guile-lib-0.1.3.ebuild +++ b/dev-scheme/guile-lib/guile-lib-0.1.3.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/dev-scheme/guile-lib/guile-lib-0.1.3.ebuild,v 1.1 2007/06/06 23:03:03 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile-lib/guile-lib-0.1.3.ebuild,v 1.2 2007/06/18 14:54:36 hkbst Exp $ inherit eutils @@ -15,7 +15,10 @@ RDEPEND="dev-scheme/guile" DEPEND="${RDEPEND}" pkg_setup() { - built_with_use dev-scheme/guile regex deprecated || die "guile must be built with USE='regex deprecated'" + local g=$(guile --version|line) + [[ ${g#* } = 1.6* ]] || { + built_with_use dev-scheme/guile regex deprecated || die "guile must be built with USE='regex deprecated'" + } } src_install() { |