summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) \