summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-02-04 17:58:01 +0000
committerSamuli Suominen <drac@gentoo.org>2008-02-04 17:58:01 +0000
commit3cf3286cf5ed42d7d4fa6fb9ce35b61f18bef2b4 (patch)
treec7576e594966ae7f6bbfd4f87e6bf07e3d1c8780 /sci-libs
parentnew legacy driver releases for newer kernels and X.org servers (diff)
downloadgentoo-2-3cf3286cf5ed42d7d4fa6fb9ce35b61f18bef2b4.tar.gz
gentoo-2-3cf3286cf5ed42d7d4fa6fb9ce35b61f18bef2b4.tar.bz2
gentoo-2-3cf3286cf5ed42d7d4fa6fb9ce35b61f18bef2b4.zip
Fix installing with USE -python, was skipping straight to die. Replace filter-ldflags -Wl,-O1 with append-ldflags -Wl,-O0.
(Portage version: 2.1.4.1)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/libgeotiff/ChangeLog6
-rw-r--r--sci-libs/libgeotiff/libgeotiff-1.2.4.ebuild9
2 files changed, 11 insertions, 4 deletions
diff --git a/sci-libs/libgeotiff/ChangeLog b/sci-libs/libgeotiff/ChangeLog
index 0faea3403291..ff25593a34b5 100644
--- a/sci-libs/libgeotiff/ChangeLog
+++ b/sci-libs/libgeotiff/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/libgeotiff
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeotiff/ChangeLog,v 1.20 2008/02/04 17:37:44 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeotiff/ChangeLog,v 1.21 2008/02/04 17:58:01 drac Exp $
+
+ 04 Feb 2008; Samuli Suominen <drac@gentoo.org> libgeotiff-1.2.4.ebuild:
+ Fix installing with USE -python, was skipping straight to die. Replace
+ filter-ldflags -Wl,-O1 with append-ldflags -Wl,-O0.
04 Feb 2008; Steve Arnold <nerdboy@gentoo.org>
files/libgeotiff-1.2.4-soname.patch:
diff --git a/sci-libs/libgeotiff/libgeotiff-1.2.4.ebuild b/sci-libs/libgeotiff/libgeotiff-1.2.4.ebuild
index 33ecbd4a0f28..fa10bebf6ed1 100644
--- a/sci-libs/libgeotiff/libgeotiff-1.2.4.ebuild
+++ b/sci-libs/libgeotiff/libgeotiff-1.2.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeotiff/libgeotiff-1.2.4.ebuild,v 1.5 2008/02/04 17:11:56 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeotiff/libgeotiff-1.2.4.ebuild,v 1.6 2008/02/04 17:58:01 drac Exp $
inherit autotools eutils flag-o-matic
@@ -23,7 +23,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-soname.patch
- filter-ldflags "-Wl,-O1"
+ append-ldflags -Wl,-O0
eautoconf
}
@@ -40,7 +40,10 @@ src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dobin bin/makegeo || die "dobin makegeo failed"
- use python && dobin csv/*.py || die "dobin python failed"
+
+ if use python; then
+ dobin csv/*.py || die "dobin python failed"
+ fi
dodoc README
newdoc csv/README README.csv