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

Diff of /eclass/libtool.eclass

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

Revision 1.4 Revision 1.5
1#!/bin/bash 1#!/bin/bash
2# Copyright 1999-2002 Gentoo Technologies, Inc. 2# Copyright 1999-2002 Gentoo Technologies, Inc.
3# Distributed under the terms of the GNU General Public License, v2 or later 3# Distributed under the terms of the GNU General Public License, v2 or later
4# Author: Martin Schlemmer <azarah@gentoo.org> 4# Author: Martin Schlemmer <azarah@gentoo.org>
5# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.4 2002/06/10 18:23:49 azarah Exp $ 5# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.5 2002/06/10 18:25:04 azarah Exp $
6# This eclass patches ltmain.sh distributed with libtoolized packages with the 6# This eclass patches ltmain.sh distributed with libtoolized packages with the
7# relink and portage patch 7# relink and portage patch
8ECLASS=libtool 8ECLASS=libtool
9newdepend sys-devel/libtool 9newdepend sys-devel/libtool
10 10
25 mylist="$(find_ltmain)" 25 mylist="$(find_ltmain)"
26 # Only apply portage patch, and dont "libtoolize --copy --force" 26 # Only apply portage patch, and dont "libtoolize --copy --force"
27 # if all patches fail. 27 # if all patches fail.
28 for x in ${*} 28 for x in ${*}
29 do 29 do
30 if [ "${1}" = "--portage" ] 30 if [ "${x}" = "--portage" ]
31 then 31 then
32 portage="yes" 32 portage="yes"
33 fi 33 fi
34 # Only patch the ltmain.sh in ${S} 34 # Only patch the ltmain.sh in ${S}
35 if [ "${1}" = "--shallow" ] 35 if [ "${x}" = "--shallow" ]
36 then 36 then
37 if [ -f ${S}/ltmain.sh ] 37 if [ -f ${S}/ltmain.sh ]
38 then 38 then
39 mylist="${S}" 39 mylist="${S}"
40 else 40 else

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20