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

Diff of /eclass/eutils.eclass

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

Revision 1.420 Revision 1.421
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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/eutils.eclass,v 1.420 2013/05/21 14:05:31 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.421 2013/05/22 05:10:29 mgorny Exp $
4 4
5# @ECLASS: eutils.eclass 5# @ECLASS: eutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: many extra (but common) functions that are used in ebuilds 8# @BLURB: many extra (but common) functions that are used in ebuilds
1463 local archivefile=${f/%.la/.a} 1463 local archivefile=${f/%.la/.a}
1464 1464
1465 # The following check is done by libtool itself. 1465 # The following check is done by libtool itself.
1466 # It helps us avoid removing random files which match '*.la', 1466 # It helps us avoid removing random files which match '*.la',
1467 # see bug #468380. 1467 # see bug #468380.
1468 if ! sed -n -e '/^# Generated by .*libtool/q0;4q1'; then 1468 if ! sed -n -e '/^# Generated by .*libtool/q0;4q1' "${f}"; then
1469 continue 1469 continue
1470 fi 1470 fi
1471 1471
1472 [[ ${f} != ${archivefile} ]] || die 'regex sanity check failed' 1472 [[ ${f} != ${archivefile} ]] || die 'regex sanity check failed'
1473 local reason pkgconfig_scanned 1473 local reason pkgconfig_scanned

Legend:
Removed from v.1.420  
changed lines
  Added in v.1.421

  ViewVC Help
Powered by ViewVC 1.1.20