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

Diff of /eclass/libtool.eclass

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

Revision 1.60 Revision 1.61
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.60 2005/10/04 15:48:05 azarah Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.61 2005/10/09 13:01:41 flameeyes 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
196 196
197 if useq ppc-macos ; then 197 if useq ppc-macos ; then
198 local opts 198 local opts
199 [[ -f Makefile.am ]] && opts="--automake" 199 [[ -f Makefile.am ]] && opts="--automake"
200 glibtoolize --copy --force ${opts} 200 glibtoolize --copy --force ${opts}
201 201
202 elt_patches="${elt_patches} darwin-ltconf darwin-ltmain" 202 elt_patches="${elt_patches} darwin-ltconf darwin-ltmain"
203 fi 203 fi
204 204
205 for x in ${my_dirlist} ; do 205 for x in ${my_dirlist} ; do
206 local tmp=$(echo "${x}" | sed -e "s|${WORKDIR}||") 206 local tmp=$(echo "${x}" | sed -e "s|${WORKDIR}||")
321 [[ ${CHOST} == *"-uclibc" ]] && \ 321 [[ ${CHOST} == *"-uclibc" ]] && \
322 ewarn " uClibc patch set '${y}' failed to apply!" 322 ewarn " uClibc patch set '${y}' failed to apply!"
323 ;; 323 ;;
324 "fbsd-"*) 324 "fbsd-"*)
325 if [[ ${CHOST} == *"-freebsd"* ]] ; then 325 if [[ ${CHOST} == *"-freebsd"* ]] ; then
326 if [[ -z $(grep 'Handle Gentoo/FreeBSD as it was Linux' "${x}/configure") ]]; then
326 eerror " FreeBSD patch set '${y}' failed to apply!" 327 eerror " FreeBSD patch set '${y}' failed to apply!"
327 die "FreeBSD patch set '${y}' failed to apply!" 328 die "FreeBSD patch set '${y}' failed to apply!"
329 fi
328 fi 330 fi
329 ;; 331 ;;
330 "darwin-"*) 332 "darwin-"*)
331 useq ppc-macos && \ 333 useq ppc-macos && \
332 ewarn " Darwin patch set '${y}' failed to apply!" 334 ewarn " Darwin patch set '${y}' failed to apply!"

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61

  ViewVC Help
Powered by ViewVC 1.1.20