/[gentoo-x86]/eclass/libtool.eclass
Gentoo

Diff of /eclass/libtool.eclass

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

Revision 1.57 Revision 1.58
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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/libtool.eclass,v 1.57 2005/09/04 20:35:42 azarah Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.58 2005/09/04 20:45:57 azarah Exp $
4# 4#
5# Author: Martin Schlemmer <azarah@gentoo.org> 5# Author: Martin Schlemmer <azarah@gentoo.org>
6# 6#
7# This eclass patches ltmain.sh distributed with libtoolized packages with the 7# This eclass patches ltmain.sh distributed with libtoolized packages with the
8# relink and portage patch among others 8# relink and portage patch among others
219 ELT_walk_patches "${x}/ltmain.sh" "${y}" 219 ELT_walk_patches "${x}/ltmain.sh" "${y}"
220 ret=$? 220 ret=$?
221 fi 221 fi
222 ;; 222 ;;
223 "uclibc-conf") 223 "uclibc-conf")
224 if [[ -e ${x}/configure ]] && \ 224 if [[ -e ${x}/configure && \
225 grep 'Transform linux' "${x}/configure" > /dev/null ; then 225 -n $(grep 'Transform linux' "${x}/configure") ]] ; then
226 ELT_walk_patches "${x}/configure" "${y}" 226 ELT_walk_patches "${x}/configure" "${y}"
227 ret=$? 227 ret=$?
228 # ltmain.sh and co might be in a subdirectory ... 228 # ltmain.sh and co might be in a subdirectory ...
229 elif [[ ! -e ${x}/configure && -e ${x}/../configure ]] && \ 229 elif [[ ! -e ${x}/configure && -e ${x}/../configure && \
230 grep 'Transform linux' "${x}/../configure" > /dev/null ; then 230 -n $(grep 'Transform linux' "${x}/../configure") ]] ; then
231 ELT_walk_patches "${x}/../configure" "${y}" 231 ELT_walk_patches "${x}/../configure" "${y}"
232 ret=$? 232 ret=$?
233 fi 233 fi
234 ;; 234 ;;
235 "uclibc-ltconf") 235 "uclibc-ltconf")
237 ELT_walk_patches "${x}/ltconfig" "${y}" 237 ELT_walk_patches "${x}/ltconfig" "${y}"
238 ret=$? 238 ret=$?
239 fi 239 fi
240 ;; 240 ;;
241 "fbsd-conf") 241 "fbsd-conf")
242 if [[ -e ${x}/configure ]] && \ 242 if [[ -e ${x}/configure && \
243 grep 'version_type=freebsd-' "${x}/configure" > /dev/null ; then 243 -n $(grep 'version_type=freebsd-' "${x}/configure") ]] ; then
244 ELT_walk_patches "${x}/configure" "${y}" 244 ELT_walk_patches "${x}/configure" "${y}"
245 ret=$? 245 ret=$?
246 # ltmain.sh and co might be in a subdirectory ... 246 # ltmain.sh and co might be in a subdirectory ...
247 elif [[ ! -e ${x}/configure && -e ${x}/../configure ]] && \ 247 elif [[ ! -e ${x}/configure && -e ${x}/../configure && \
248 grep 'version_type=freebsd-' "${x}/../configure" > /dev/null ; then 248 -n $(grep 'version_type=freebsd-' "${x}/../configure") ]] ; then
249 ELT_walk_patches "${x}/../configure" "${y}" 249 ELT_walk_patches "${x}/../configure" "${y}"
250 ret=$? 250 ret=$?
251 fi 251 fi
252 ;; 252 ;;
253 *) 253 *)

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58

  ViewVC Help
Powered by ViewVC 1.1.20