/[gentoo-x86]/eclass/ruby-ng.eclass
Gentoo

Diff of /eclass/ruby-ng.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.20 Revision 1.21
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.20 2010/05/24 07:33:35 flameeyes Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.21 2010/07/08 04:00:57 flameeyes Exp $
4# 4#
5# @ECLASS: ruby-ng.eclass 5# @ECLASS: ruby-ng.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Ruby herd <ruby@gentoo.org> 7# Ruby herd <ruby@gentoo.org>
8# 8#
117 echo "RUBYTARGET? (" 117 echo "RUBYTARGET? ("
118 for token in $*; do 118 for token in $*; do
119 case "$token" in 119 case "$token" in
120 "||" | "(" | ")" | *"?") 120 "||" | "(" | ")" | *"?")
121 echo "${token}" ;; 121 echo "${token}" ;;
122 *])
123 echo "${token%[*}[RUBYTARGET,${token/*[}" ;;
122 *) 124 *)
123 # TODO we need to deal with merging USE-based
124 # dependencies
125 echo "${token}[RUBYTARGET]" ;; 125 echo "${token}[RUBYTARGET]" ;;
126 esac 126 esac
127 done 127 done
128 echo ")" 128 echo ")"
129 eshopts_pop 129 eshopts_pop

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20