summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-07-08 04:00:57 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-07-08 04:00:57 +0000
commit8f5d9c21dffdf32c9404cd743f711c126f2fbcc1 (patch)
treece2c7596c4a6cc5e114de95da7c793f0e2424934 /eclass
parentMissing QA_DT_HASH to prevent warning about LDFLAGS not being respected. Miss... (diff)
downloadgentoo-2-8f5d9c21dffdf32c9404cd743f711c126f2fbcc1.tar.gz
gentoo-2-8f5d9c21dffdf32c9404cd743f711c126f2fbcc1.tar.bz2
gentoo-2-8f5d9c21dffdf32c9404cd743f711c126f2fbcc1.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')
-rw-r--r--eclass/ruby-ng.eclass6
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