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

Diff of /eclass/gpe.eclass

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

Revision 1.1 Revision 1.2
1# Copyright 2008 Gentoo Foundation 1# Copyright 2008 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/gpe.eclass,v 1.1 2009/02/28 14:07:58 miknix Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gpe.eclass,v 1.2 2009/06/05 22:53:46 miknix Exp $
4# 4#
5# @ECLASS: gpe.eclass 5# @ECLASS: gpe.eclass
6# @MAINTAINER: <gpe@gentoo.org> 6# @MAINTAINER: <gpe@gentoo.org>
7# 7#
8# Original Authors: 8# Original Authors:
64} 64}
65 65
66# Do not call, use gpe_src_unpack() instead. 66# Do not call, use gpe_src_unpack() instead.
67gpe_src_prepare() { 67gpe_src_prepare() {
68 # let portage handle stripping. 68 # let portage handle stripping.
69 # sort is needed, see #272161 .
69 for file in $(find . -name 'Makefile*') ; do 70 for file in $(find . -name 'Makefile*' | sort) ; do
70 sed -i -e s/'install -s'/'install'/g \ 71 sed -i -e s/'install -s'/'install'/g \
71 -e s/'install -Ds'/'install -D'/g \ 72 -e s/'install -Ds'/'install -D'/g \
72 -e 's/$(INSTALL) -s/$(INSTALL) /g' \ 73 -e 's/$(INSTALL) -s/$(INSTALL) /g' \
73 -e 's;strip ;#strip ;g' \ 74 -e 's;strip ;#strip ;g' \
74 ${file} \ 75 ${file} \

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20