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

Diff of /eclass/libtool.eclass

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

Revision 1.99 Revision 1.102
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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.99 2012/05/06 10:41:48 grobian Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.102 2012/09/15 16:16:53 zmedico Exp $
4 4
5# @ECLASS: libtool.eclass 5# @ECLASS: libtool.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: quickly update bundled libtool code 8# @BLURB: quickly update bundled libtool code
27 if [[ ! -d ${d} ]] ; then 27 if [[ ! -d ${d} ]] ; then
28 d="${ECLASSDIR_LOCAL}/ELT-patches" 28 d="${ECLASSDIR_LOCAL}/ELT-patches"
29 fi 29 fi
30 echo "${d}" 30 echo "${d}"
31} 31}
32
33DESCRIPTION="Based on the ${ECLASS} eclass"
34 32
35inherit multilib toolchain-funcs 33inherit multilib toolchain-funcs
36 34
37# 35#
38# See if we can apply $2 on $1, and if so, do it 36# See if we can apply $2 on $1, and if so, do it
180 [[ ${do_uclibc} == "yes" ]] && elt_patches+=" uclibc-conf uclibc-ltconf" 178 [[ ${do_uclibc} == "yes" ]] && elt_patches+=" uclibc-conf uclibc-ltconf"
181 179
182 case ${CHOST} in 180 case ${CHOST} in
183 *-aix*) elt_patches+=" hardcode aixrtl aix-noundef" ;; #213277 181 *-aix*) elt_patches+=" hardcode aixrtl aix-noundef" ;; #213277
184 *-darwin*) elt_patches+=" darwin-ltconf darwin-ltmain darwin-conf" ;; 182 *-darwin*) elt_patches+=" darwin-ltconf darwin-ltmain darwin-conf" ;;
185 *-solaris*) elt_patches+=" sol2-conf" ;; 183 *-solaris*) elt_patches+=" sol2-conf sol2-ltmain" ;;
186 *-freebsd*) elt_patches+=" fbsd-conf fbsd-ltconf" ;; 184 *-freebsd*) elt_patches+=" fbsd-conf fbsd-ltconf" ;;
187 *-hpux*) elt_patches+=" hpux-conf deplibs hc-flag-ld hardcode hardcode-relink relink-prog no-lc" ;; 185 *-hpux*) elt_patches+=" hpux-conf deplibs hc-flag-ld hardcode hardcode-relink relink-prog no-lc" ;;
188 *-irix*) elt_patches+=" irix-ltmain" ;; 186 *-irix*) elt_patches+=" irix-ltmain" ;;
189 *-mint*) elt_patches+=" mint-conf" ;; 187 *-mint*) elt_patches+=" mint-conf" ;;
190 esac 188 esac
331 # have at least one patch succeeded. 329 # have at least one patch succeeded.
332 ret=0 330 ret=0
333 fi 331 fi
334 done 332 done
335 ;; 333 ;;
336 mint-conf|gold-conf) 334 mint-conf|gold-conf|sol2-conf)
337 ret=1 335 ret=1
338 local subret=1 336 local subret=1
339 if [[ -e ${d}/configure ]]; then 337 if [[ -e ${d}/configure ]]; then
340 ELT_walk_patches "${d}/configure" "${p}" 338 ELT_walk_patches "${d}/configure" "${p}"
341 subret=$? 339 subret=$?

Legend:
Removed from v.1.99  
changed lines
  Added in v.1.102

  ViewVC Help
Powered by ViewVC 1.1.20