On 2007/03/12, Ned Ludd <[EMAIL PROTECTED]> wrote:

> Matches "`which "
> ...
> And matches "$(which "
> ...

Also there are some occurences in eclasses:

./eclass/enlightenment.eclass: 
   cp $(which gettextize) "${T}"/ || die "could not copy gettextize"
./eclass/fortran.eclass: 
   elif [ -x "$(which ifc 2> /dev/null)" ]; then
./eclass/fortran.eclass: 
   if [ -x "$(which f2c 2> /dev/null)" ]; then
./eclass/fortran.eclass: 
   if [ -x "$(which g77 2> /dev/null)" ]; then
./eclass/fortran.eclass: 
   if [ -x "$(which gfortran 2> /dev/null)" ]; then
./eclass/fortran.eclass: 
   if [ -x "$(which ifort 2> /dev/null)" ]; then
./eclass/ghc-package.eclass: 
   echo "$(which ghc)"
./eclass/ghc-package.eclass: 
   echo "$(which ghc-pkg)"
./eclass/haskell-cabal.eclass: 
   sed -i "s|$(ghc-getghcpkg)|$(which true)|" .setup-config
./eclass/kde.eclass:
   export WHICH="which"
./eclass/mysql.eclass: 
   -DCMAKE_C_COMPILER=$(which $(tc-getCC)) \
./eclass/mysql.eclass: 
   -DCMAKE_CXX_COMPILER=$(which $(tc-getCC)) \
./eclass/vdr-plugin.eclass: 
   if which md5sum >/dev/null 2>&1; then
./eclass/vim-doc.eclass: 
   vim=$(which vim 2>/dev/null)
./eclass/vim-doc.eclass: 
   [[ -z "$vim" ]] && vim=$(which gvim 2>/dev/null)
./eclass/vim-doc.eclass: 
   [[ -z "$vim" ]] && vim=$(which kvim 2>/dev/null)
./eclass/vim.eclass: 
   export ac_cv_prog_STRIP="$(which true ) faking strip"


And in a few more ebuilds ("if which", plus a few weirdnesses):

./app-i18n/scim-qtimm/scim-qtimm-0.8.95.ebuild: 
   if which kde-config >/dev/null 2>&1 ; then
./app-i18n/scim-qtimm/scim-qtimm-0.9.3.ebuild: 
   if which kde-config >/dev/null 2>&1 ; then
./dev-ml/findlib/findlib-1.0.4-r1.ebuild: 
   if ( use tk && which ocaml && ! which labltk ); then
./dev-scheme/kawa/kawa-1.6.97.ebuild: 
   which javac
./dev-scheme/kawa/kawa-1.7.ebuild: 
   which javac
./sci-libs/plplot/plplot-5.5.2.ebuild:
   use fortran && ! use ifc || if [ -z 'which g77' ]; then
./sci-visualization/xd3d/xd3d-8.2.1.ebuild:             
   which g77 2> /dev/null || die "No GNU Fortran compiler found!"
./sys-apps/discover/discover-2.0.2.ebuild:              
   if which docbook2man 2>/dev/null ; then
./sys-apps/discover/discover-2.0.2.ebuild:      
   if ! which docbook-to-man 2>/dev/null ; then

--
TGL.
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to