summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Arrifano <miknix@gentoo.org>2009-06-05 22:53:46 +0000
committerAngelo Arrifano <miknix@gentoo.org>2009-06-05 22:53:46 +0000
commit11239416a3296ba77ee819a934fb8f42f27edf7b (patch)
tree6768964c0b10b3dabfe63f536a30454c5d59c477
parentSet RDEPEND, make repoman happy (diff)
downloadhistorical-11239416a3296ba77ee819a934fb8f42f27edf7b.tar.gz
historical-11239416a3296ba77ee819a934fb8f42f27edf7b.tar.bz2
historical-11239416a3296ba77ee819a934fb8f42f27edf7b.zip
Fix sed messing with Makefile timestamps, see bug #272161 .
-rw-r--r--eclass/gpe.eclass5
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' \