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

Diff of /eclass/libtool.eclass

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

Revision 1.24 Revision 1.25
1# Copyright 1999-2004 Gentoo Technologies, Inc. 1# Copyright 1999-2004 Gentoo Technologies, Inc.
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.24 2004/01/02 21:54:28 azarah Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.25 2004/02/11 19:33:14 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
108 local do_portage="no" 108 local do_portage="no"
109 local do_reversedeps="no" 109 local do_reversedeps="no"
110 local do_only_patches="no" 110 local do_only_patches="no"
111 local deptoremove= 111 local deptoremove=
112 local my_dirlist= 112 local my_dirlist=
113 local elt_patches="portage relink sed test tmp" 113 local elt_patches="portage relink max_cmd_len sed test tmp"
114 114
115 my_dirlist="$(ELT_find_ltmain_sh)" 115 my_dirlist="$(ELT_find_ltmain_sh)"
116 116
117 for x in $* 117 for x in $*
118 do 118 do
170 ret=$? 170 ret=$?
171 ;; 171 ;;
172 "fix-relink") 172 "fix-relink")
173 # Do not apply if we do not have the relink patch applied ... 173 # Do not apply if we do not have the relink patch applied ...
174 if [ -n "$(grep 'inst_prefix_dir' "${x}/ltmain.sh")" ] 174 if [ -n "$(grep 'inst_prefix_dir' "${x}/ltmain.sh")" ]
175 then
176 ELT_walk_patches "${x}/ltmain.sh" "${y}"
177 ret=$?
178 fi
179 ;;
180 "max_cmd_len")
181 # Do not apply if $max_cmd_len is not used ...
182 if [ -n "$(grep 'max_cmd_len' "${x}/ltmain.sh")" ]
175 then 183 then
176 ELT_walk_patches "${x}/ltmain.sh" "${y}" 184 ELT_walk_patches "${x}/ltmain.sh" "${y}"
177 ret=$? 185 ret=$?
178 fi 186 fi
179 ;; 187 ;;

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.20