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

Diff of /eclass/libtool.eclass

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

Revision 1.13 Revision 1.15
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
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.13 2002/08/29 23:56:15 azarah Exp $ 5# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.15 2002/10/25 19:55:52 vapier 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
8
8ECLASS=libtool 9ECLASS=libtool
9INHERITED="$INHERITED $ECLASS" 10INHERITED="$INHERITED $ECLASS"
10 11
11newdepend sys-devel/libtool 12newdepend sys-devel/libtool
12 13
384 fi 385 fi
385 fi 386 fi
386 387
387 ENDPATCH 388 ENDPATCH
388 389
389 retval=$? 390 retval=$?
390 391
391 # This one dont apply clean to libtool-1.4.2a, so do it manually. 392 # This one dont apply clean to libtool-1.4.2a, so do it manually.
392 if [ "${1}" != "--test" ] && [ "${retval}" -eq 0 ] 393 if [ "${1}" != "--test" ] && [ "${retval}" -eq 0 ]
393 then 394 then
394 cp ltmain.sh ltmain.sh.orig 395 cp ltmain.sh ltmain.sh.orig
395 sed -e 's:cd `pwd`; $SHELL $0 --mode=relink $libtool_args:cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@:' \ 396 sed -e 's:cd `pwd`; $SHELL $0 --mode=relink $libtool_args:cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@:' \
396 ltmain.sh.orig > ltmain.sh 397 ltmain.sh.orig > ltmain.sh
397 rm -f ltmain.sh.orig 398 rm -f ltmain.sh.orig
398 fi 399 fi
399 400
400 return ${retval} 401 return ${retval}
401} 402}
402 403
403tmp_patch() { 404tmp_patch() {
404 405
405 local opts="" 406 local opts=""

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

  ViewVC Help
Powered by ViewVC 1.1.20