summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-05-25 11:13:39 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-05-25 11:13:39 +0000
commit7412cdfb79b00584048100e31e47823923466c64 (patch)
treeb4ce6e35278782646cda807e5fd9e731abd796a6 /sci-libs/libgeotiff
parentUse Python 2.x for pamusb-conf and pamusb-agent tools wrt #413025 by "samuraiii" (diff)
downloadgentoo-2-7412cdfb79b00584048100e31e47823923466c64.tar.gz
gentoo-2-7412cdfb79b00584048100e31e47823923466c64.tar.bz2
gentoo-2-7412cdfb79b00584048100e31e47823923466c64.zip
Fix passing of O3 to cflags. Thanks to ago.
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/libgeotiff')
-rw-r--r--sci-libs/libgeotiff/ChangeLog5
-rw-r--r--sci-libs/libgeotiff/libgeotiff-1.4.0.ebuild12
2 files changed, 14 insertions, 3 deletions
diff --git a/sci-libs/libgeotiff/ChangeLog b/sci-libs/libgeotiff/ChangeLog
index 32f8c03305bf..c1117bdb763e 100644
--- a/sci-libs/libgeotiff/ChangeLog
+++ b/sci-libs/libgeotiff/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/libgeotiff
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeotiff/ChangeLog,v 1.37 2012/05/24 19:38:04 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeotiff/ChangeLog,v 1.38 2012/05/25 11:13:39 scarabeus Exp $
+
+ 25 May 2012; Tomáš Chvátal <scarabeus@gentoo.org> libgeotiff-1.4.0.ebuild:
+ Fix passing of O3 to cflags. Thanks to ago.
*libgeotiff-1.4.0 (24 May 2012)
diff --git a/sci-libs/libgeotiff/libgeotiff-1.4.0.ebuild b/sci-libs/libgeotiff/libgeotiff-1.4.0.ebuild
index 78ffa96e3872..608f36299d54 100644
--- a/sci-libs/libgeotiff/libgeotiff-1.4.0.ebuild
+++ b/sci-libs/libgeotiff/libgeotiff-1.4.0.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeotiff/libgeotiff-1.4.0.ebuild,v 1.1 2012/05/24 19:38:04 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeotiff/libgeotiff-1.4.0.ebuild,v 1.2 2012/05/25 11:13:39 scarabeus Exp $
EAPI=4
-inherit base
+inherit base autotools
MY_P=${P/_rc/RC}
@@ -29,6 +29,14 @@ S=${WORKDIR}/${MY_P/RC*/}
DOCS=( README ChangeLog )
+src_prepare() {
+ base_src_prepare
+ sed -i \
+ -e "s:-O3::g" \
+ configure.ac || die
+ eautoreconf
+}
+
src_configure() {
econf \
$(use_enable static-libs static) \