diff options
author | Angelo Arrifano <miknix@gentoo.org> | 2009-06-05 22:53:46 +0000 |
---|---|---|
committer | Angelo Arrifano <miknix@gentoo.org> | 2009-06-05 22:53:46 +0000 |
commit | 0565c9d744adf94494ae90ff59c24f3629db3b08 (patch) | |
tree | 595e937a1b202d7828031bdccc9b4b4b59424b7a /eclass/gpe.eclass | |
parent | Set RDEPEND, make repoman happy (diff) | |
download | gentoo-2-0565c9d744adf94494ae90ff59c24f3629db3b08.tar.gz gentoo-2-0565c9d744adf94494ae90ff59c24f3629db3b08.tar.bz2 gentoo-2-0565c9d744adf94494ae90ff59c24f3629db3b08.zip |
Fix sed messing with Makefile timestamps, see bug #272161 .
Diffstat (limited to 'eclass/gpe.eclass')
-rw-r--r-- | eclass/gpe.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/gpe.eclass b/eclass/gpe.eclass index ae19e8827b4a..b24ba7beb5e5 100644 --- a/eclass/gpe.eclass +++ b/eclass/gpe.eclass @@ -1,6 +1,6 @@ # Copyright 2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gpe.eclass,v 1.1 2009/02/28 14:07:58 miknix Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gpe.eclass,v 1.2 2009/06/05 22:53:46 miknix Exp $ # # @ECLASS: gpe.eclass # @MAINTAINER: <gpe@gentoo.org> @@ -66,7 +66,8 @@ gpe_src_unpack() { # Do not call, use gpe_src_unpack() instead. gpe_src_prepare() { # let portage handle stripping. - for file in $(find . -name 'Makefile*') ; do + # sort is needed, see #272161 . + for file in $(find . -name 'Makefile*' | sort) ; do sed -i -e s/'install -s'/'install'/g \ -e s/'install -Ds'/'install -D'/g \ -e 's/$(INSTALL) -s/$(INSTALL) /g' \ |