summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-08-25 02:37:43 +0000
committerMike Frysinger <vapier@gentoo.org>2013-08-25 02:37:43 +0000
commit33a606847f68cfccc1b7933d311eb766a737bcab (patch)
tree6dbff88bc4fd3bde55862f6a18c8c818069547ce /dev-libs/mpfr
parentReally fix it (diff)
downloadgentoo-2-33a606847f68cfccc1b7933d311eb766a737bcab.tar.gz
gentoo-2-33a606847f68cfccc1b7933d311eb766a737bcab.tar.bz2
gentoo-2-33a606847f68cfccc1b7933d311eb766a737bcab.zip
Simplify src_prepare code.
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'dev-libs/mpfr')
-rw-r--r--dev-libs/mpfr/ChangeLog6
-rw-r--r--dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild8
-rw-r--r--dev-libs/mpfr/mpfr-3.1.2.ebuild8
3 files changed, 11 insertions, 11 deletions
diff --git a/dev-libs/mpfr/ChangeLog b/dev-libs/mpfr/ChangeLog
index e7aeb117f420..d7d24d8de8c0 100644
--- a/dev-libs/mpfr/ChangeLog
+++ b/dev-libs/mpfr/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/mpfr
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/ChangeLog,v 1.167 2013/07/21 21:52:36 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/ChangeLog,v 1.168 2013/08/25 02:37:43 vapier Exp $
+
+ 25 Aug 2013; Mike Frysinger <vapier@gentoo.org> mpfr-2.4.2_p3-r1.ebuild,
+ mpfr-3.1.2.ebuild:
+ Simplify src_prepare code.
21 Jul 2013; Christoph Junghans <ottxor@gentoo.org> mpfr-2.4.2_p3-r1.ebuild,
mpfr-3.1.2.ebuild:
diff --git a/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild b/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild
index f205eee988ed..80431863dc31 100644
--- a/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild
+++ b/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild,v 1.2 2013/07/21 21:52:36 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild,v 1.3 2013/08/25 02:37:43 vapier Exp $
# this ebuild is only for the libmpfr.so.1 ABI SONAME
@@ -27,10 +27,8 @@ S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${MY_PV}/patch*
sed -i '/if test/s:==:=:' configure #261016
- find . -type f -print0 | xargs -0 touch -r configure
-
- # needed for FreeMiNT
- [[ ${CHOST} == *-mint* ]] && elibtoolize
+ find . -type f -exec touch -r configure {} +
+ elibtoolize
}
src_configure() {
diff --git a/dev-libs/mpfr/mpfr-3.1.2.ebuild b/dev-libs/mpfr/mpfr-3.1.2.ebuild
index 662ba82eccc2..260c20ad3933 100644
--- a/dev-libs/mpfr/mpfr-3.1.2.ebuild
+++ b/dev-libs/mpfr/mpfr-3.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-3.1.2.ebuild,v 1.3 2013/07/21 21:52:36 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-3.1.2.ebuild,v 1.4 2013/08/25 02:37:43 vapier Exp $
EAPI="3"
@@ -38,10 +38,8 @@ src_prepare() {
fi
done
sed -i '/if test/s:==:=:' configure #261016
- find . -type f -print0 | xargs -0 touch -r configure
-
- # needed for FreeMiNT
- [[ ${CHOST} == *-mint* ]] && elibtoolize
+ find . -type f -exec touch -r configure {} +
+ elibtoolize
}
src_configure() {