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

Diff of /eclass/libtool.eclass

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

Revision 1.72 Revision 1.74
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.72 2006/05/09 17:50:17 flameeyes Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.74 2007/03/01 18:48:02 grobian 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
178 elt_patches="${elt_patches} uclibc-conf uclibc-ltconf" 178 elt_patches="${elt_patches} uclibc-conf uclibc-ltconf"
179 179
180 [[ ${CHOST} == *"-freebsd"* ]] && \ 180 [[ ${CHOST} == *"-freebsd"* ]] && \
181 elt_patches="${elt_patches} fbsd-conf fbsd-ltconf" 181 elt_patches="${elt_patches} fbsd-conf fbsd-ltconf"
182 182
183 if useq ppc-macos ; then 183 [[ ${CHOST} == *"-darwin"* ]] && \
184 local opts
185 [[ -f Makefile.am ]] && opts="--automake"
186 glibtoolize --copy --force ${opts}
187
188 elt_patches="${elt_patches} darwin-ltconf darwin-ltmain" 184 elt_patches="${elt_patches} darwin-ltconf darwin-ltmain"
189 fi
190 185
191 for x in ${my_dirlist} ; do 186 for x in ${my_dirlist} ; do
192 local tmp=$(echo "${x}" | sed -e "s|${WORKDIR}||") 187 local tmp=$(echo "${x}" | sed -e "s|${WORKDIR}||")
193 export ELT_APPLIED_PATCHES= 188 export ELT_APPLIED_PATCHES=
194 export ELT_LTMAIN_SH="${x}/ltmain.sh" 189 export ELT_LTMAIN_SH="${x}/ltmain.sh"
330 die "FreeBSD patch set '${y}' failed to apply!" 325 die "FreeBSD patch set '${y}' failed to apply!"
331 fi 326 fi
332 fi 327 fi
333 ;; 328 ;;
334 "darwin-"*) 329 "darwin-"*)
335 useq ppc-macos && \ 330 [[ ${CHOST} == *"-darwin"* ]] && \
336 ewarn " Darwin patch set '${y}' failed to apply!" 331 ewarn " Darwin patch set '${y}' failed to apply!"
337 ;; 332 ;;
338 esac 333 esac
339 fi 334 fi
340 done 335 done

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.74

  ViewVC Help
Powered by ViewVC 1.1.20