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

Diff of /eclass/libtool.eclass

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

Revision 1.55 Revision 1.56
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.55 2005/09/04 18:40:48 flameeyes Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.56 2005/09/04 20:23:42 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
119 local x= 119 local x=
120 local y= 120 local y=
121 local do_portage="no" 121 local do_portage="no"
122 local do_reversedeps="no" 122 local do_reversedeps="no"
123 local do_only_patches="no" 123 local do_only_patches="no"
124 local do_uclibc="yes"
124 local deptoremove= 125 local deptoremove=
125 local my_dirlist= 126 local my_dirlist=
126 local elt_patches="portage relink max_cmd_len sed test tmp \ 127 local elt_patches="portage relink max_cmd_len sed test tmp"
127 uclibc-conf uclibc-ltconf"
128 local start_dir="${PWD}" 128 local start_dir="${PWD}"
129 129
130 my_dirlist="$(ELT_find_ltmain_sh)" 130 my_dirlist="$(ELT_find_ltmain_sh)"
131
132 [[ ${CHOST} == *"-freebsd"* ]] && \
133 elt_patches="${elt_patches} fbsd-conf"
134 131
135 for x in "$@" ; do 132 for x in "$@" ; do
136 case "${x}" in 133 case "${x}" in
137 "--portage") 134 "--portage")
138 # Only apply portage patch, and don't 135 # Only apply portage patch, and don't
165 else 162 else
166 my_dirlist= 163 my_dirlist=
167 fi 164 fi
168 ;; 165 ;;
169 "--no-uclibc") 166 "--no-uclibc")
170 NO_UCLIBCTOOLIZE=1 167 do_uclibc="no"
171 ;; 168 ;;
172 *) 169 *)
173 eerror "Invalid elibtoolize option: $x" 170 eerror "Invalid elibtoolize option: $x"
174 die "elibtoolize called with $x ??" 171 die "elibtoolize called with $x ??"
175 esac 172 esac
176 done 173 done
174
175 [[ ${do_uclibc} == "yes" ]] && \
176 elt_patches="${elt_patches} uclibc-conf uclibc-ltconf"
177
178 [[ ${CHOST} == *"-freebsd"* ]] && \
179 elt_patches="${elt_patches} fbsd-conf"
177 180
178 if use ppc-macos ; then 181 if use ppc-macos ; then
179 local opts 182 local opts
180 [[ -f Makefile.am ]] && opts="--automake" 183 [[ -f Makefile.am ]] && opts="--automake"
181 glibtoolize --copy --force ${opts} 184 glibtoolize --copy --force ${opts}

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

  ViewVC Help
Powered by ViewVC 1.1.20