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

Diff of /eclass/libtool.eclass

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

Revision 1.12 Revision 1.13
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.12 2002/07/12 15:25:33 danarmak Exp $ 5# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.13 2002/08/29 23:56:15 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
9INHERITED="$INHERITED $ECLASS" 9INHERITED="$INHERITED $ECLASS"
10 10
67 dotmp="yes" 67 dotmp="yes"
68 doportage="yes" 68 doportage="yes"
69 69
70 for y in test_patch relink_patch tmp_patch portage_patch 70 for y in test_patch relink_patch tmp_patch portage_patch
71 do 71 do
72 if ! eval ${y} --test $>${T}/libtool.foo 72 if ! eval ${y} --test $>${T}/elibtool.log
73 then 73 then
74 case ${y} in 74 case ${y} in
75 test_patch) 75 test_patch)
76 # non critical patch 76 # non critical patch
77 dotest="no" 77 dotest="no"
142 fi 142 fi
143 ;; 143 ;;
144 esac 144 esac
145 145
146 einfo "Applying libtool-${y/_patch/}.patch..." 146 einfo "Applying libtool-${y/_patch/}.patch..."
147 eval ${y} $>${T}/libtool.foo 147 eval ${y} $>${T}/elibtool.log
148 elif [ "${portage}" = "no" ] && [ "${reversedeps}" = "no" ] 148 elif [ "${portage}" = "no" ] && [ "${reversedeps}" = "no" ]
149 then 149 then
150 ewarn "Cannot apply any patch, running libtoolize..." 150 ewarn "Cannot apply any patch, running libtoolize..."
151 libtoolize --copy --force 151 libtoolize --copy --force
152 break 152 break

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20