diff options
author | Alin Năstac <mrness@gentoo.org> | 2009-05-02 08:12:42 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2009-05-02 08:12:42 +0000 |
commit | b11c2f7749cf94ffe2eb11ec00c163afc52c90f4 (patch) | |
tree | 43e3be4b825b86606b34d4ffcda141f782a71240 /app-mobilephone | |
parent | Stable on x86 (#268173) (diff) | |
download | gentoo-2-b11c2f7749cf94ffe2eb11ec00c163afc52c90f4.tar.gz gentoo-2-b11c2f7749cf94ffe2eb11ec00c163afc52c90f4.tar.bz2 gentoo-2-b11c2f7749cf94ffe2eb11ec00c163afc52c90f4.zip |
Define $RUBY only when ruby USE flag is enabled (#268105).
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'app-mobilephone')
-rw-r--r-- | app-mobilephone/obexftp/ChangeLog | 6 | ||||
-rw-r--r-- | app-mobilephone/obexftp/obexftp-0.22.ebuild | 7 | ||||
-rw-r--r-- | app-mobilephone/obexftp/obexftp-0.23.ebuild | 7 |
3 files changed, 15 insertions, 5 deletions
diff --git a/app-mobilephone/obexftp/ChangeLog b/app-mobilephone/obexftp/ChangeLog index 2471511ebca1..ee094e244dea 100644 --- a/app-mobilephone/obexftp/ChangeLog +++ b/app-mobilephone/obexftp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-mobilephone/obexftp # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v 1.48 2009/04/25 10:53:48 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v 1.49 2009/05/02 08:12:42 mrness Exp $ + + 02 May 2009; Alin Năstac <mrness@gentoo.org> obexftp-0.22.ebuild, + obexftp-0.23.ebuild: + Define $RUBY only when ruby USE flag is enabled (#268105). 25 Apr 2009; Alin Năstac <mrness@gentoo.org> -files/obexftp-0.21-as-needed.patch, diff --git a/app-mobilephone/obexftp/obexftp-0.22.ebuild b/app-mobilephone/obexftp/obexftp-0.22.ebuild index 1fb3321a976c..401fabfab7dc 100644 --- a/app-mobilephone/obexftp/obexftp-0.22.ebuild +++ b/app-mobilephone/obexftp/obexftp-0.22.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/obexftp-0.22.ebuild,v 1.10 2009/04/25 10:53:48 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/obexftp-0.22.ebuild,v 1.11 2009/05/02 08:12:42 mrness Exp $ EAPI="2" @@ -43,6 +43,9 @@ src_configure() { append-flags "-g -DOBEXFTP_DEBUG=5" fi + local MYRUBY + use ruby && MYRUBY="RUBY=/usr/bin/ruby18" + econf \ $(use_enable bluetooth) \ $(use_enable swig) \ @@ -50,7 +53,7 @@ src_configure() { $(use_enable python) \ $(use_enable tcl) \ $(use_enable ruby) \ - RUBY=/usr/bin/ruby18 || die "econf failed" + ${MYRUBY} || die "econf failed" } src_install() { diff --git a/app-mobilephone/obexftp/obexftp-0.23.ebuild b/app-mobilephone/obexftp/obexftp-0.23.ebuild index a469490750e8..0bb2e7b67d2a 100644 --- a/app-mobilephone/obexftp/obexftp-0.23.ebuild +++ b/app-mobilephone/obexftp/obexftp-0.23.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/obexftp-0.23.ebuild,v 1.3 2009/04/25 10:53:48 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/obexftp-0.23.ebuild,v 1.4 2009/05/02 08:12:42 mrness Exp $ EAPI="2" @@ -41,6 +41,9 @@ src_configure() { append-flags "-g -DOBEXFTP_DEBUG=5" fi + local MYRUBY + use ruby && MYRUBY="RUBY=/usr/bin/ruby18" + econf \ $(use_enable bluetooth) \ $(use_enable swig) \ @@ -48,7 +51,7 @@ src_configure() { $(use_enable python) \ $(use_enable tcl) \ $(use_enable ruby) \ - RUBY=/usr/bin/ruby18 || die "econf failed" + ${MYRUBY} || die "econf failed" } src_install() { |