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

Diff of /eclass/libtool.eclass

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

Revision 1.73 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.73 2006/06/04 13:25:56 exg 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 [[ ${CHOST} == *"-darwin"* ]] && \
183 useq ppc-macos && elt_patches="${elt_patches} darwin-ltconf darwin-ltmain" 184 elt_patches="${elt_patches} darwin-ltconf darwin-ltmain"
184 185
185 for x in ${my_dirlist} ; do 186 for x in ${my_dirlist} ; do
186 local tmp=$(echo "${x}" | sed -e "s|${WORKDIR}||") 187 local tmp=$(echo "${x}" | sed -e "s|${WORKDIR}||")
187 export ELT_APPLIED_PATCHES= 188 export ELT_APPLIED_PATCHES=
188 export ELT_LTMAIN_SH="${x}/ltmain.sh" 189 export ELT_LTMAIN_SH="${x}/ltmain.sh"
324 die "FreeBSD patch set '${y}' failed to apply!" 325 die "FreeBSD patch set '${y}' failed to apply!"
325 fi 326 fi
326 fi 327 fi
327 ;; 328 ;;
328 "darwin-"*) 329 "darwin-"*)
329 useq ppc-macos && \ 330 [[ ${CHOST} == *"-darwin"* ]] && \
330 ewarn " Darwin patch set '${y}' failed to apply!" 331 ewarn " Darwin patch set '${y}' failed to apply!"
331 ;; 332 ;;
332 esac 333 esac
333 fi 334 fi
334 done 335 done

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

  ViewVC Help
Powered by ViewVC 1.1.20