diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-07-08 04:00:57 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-07-08 04:00:57 +0000 |
commit | 57ea16dd8c332cca76421eb89279a61cf58a3fd1 (patch) | |
tree | c19218c742633fae5980daf48f6d84fbc17cd413 /eclass/ruby-ng.eclass | |
parent | Missing QA_DT_HASH to prevent warning about LDFLAGS not being respected. Miss... (diff) | |
download | historical-57ea16dd8c332cca76421eb89279a61cf58a3fd1.tar.gz historical-57ea16dd8c332cca76421eb89279a61cf58a3fd1.tar.bz2 historical-57ea16dd8c332cca76421eb89279a61cf58a3fd1.zip |
Implement the merge of USE based dependencies as was listed in TODO.
Please don't cry when you see the code.
Diffstat (limited to 'eclass/ruby-ng.eclass')
-rw-r--r-- | eclass/ruby-ng.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index 0be2cfe47107..7fd34b855b69 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby-ng.eclass @@ -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/eclass/ruby-ng.eclass,v 1.20 2010/05/24 07:33:35 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.21 2010/07/08 04:00:57 flameeyes Exp $ # # @ECLASS: ruby-ng.eclass # @MAINTAINER: @@ -119,9 +119,9 @@ _ruby_atoms_samelib_generic() { case "$token" in "||" | "(" | ")" | *"?") echo "${token}" ;; + *]) + echo "${token%[*}[RUBYTARGET,${token/*[}" ;; *) - # TODO we need to deal with merging USE-based - # dependencies echo "${token}[RUBYTARGET]" ;; esac done |