summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-06-06 14:31:45 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-06-06 14:31:45 +0000
commit5794638d87cc6750a96533c4469766ceb2b4c9c3 (patch)
tree87909157857f0f76577d915189f5dfa68ce7f838 /dev-lang/gdl
parentamd64 stable, bug 217075 (diff)
downloadgentoo-2-5794638d87cc6750a96533c4469766ceb2b4c9c3.tar.gz
gentoo-2-5794638d87cc6750a96533c4469766ceb2b4c9c3.tar.bz2
gentoo-2-5794638d87cc6750a96533c4469766ceb2b4c9c3.zip
Make gdl backward compatible to <plplot-5.9 (fixes bug #225027).
(Portage version: 2.1.5.4)
Diffstat (limited to 'dev-lang/gdl')
-rw-r--r--dev-lang/gdl/ChangeLog5
-rw-r--r--dev-lang/gdl/gdl-0.9_rc1.ebuild10
2 files changed, 13 insertions, 2 deletions
diff --git a/dev-lang/gdl/ChangeLog b/dev-lang/gdl/ChangeLog
index ac81e1b95816..ded57f483276 100644
--- a/dev-lang/gdl/ChangeLog
+++ b/dev-lang/gdl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/gdl
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/ChangeLog,v 1.8 2008/05/24 17:52:25 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/ChangeLog,v 1.9 2008/06/06 14:31:45 markusle Exp $
+
+ 06 Jun 2008; Markus Dittrich <markusle@gentoo.org> gdl-0.9_rc1.ebuild:
+ Make gdl backward compatible to <plplot-5.9 (fixes bug #225027).
24 May 2008; Markus Dittrich <markusle@gentoo.org>
+files/gdl-0.9_rc1-magick.patch, +files/gdl-0.9_rc1-gcc4.3.patch,
diff --git a/dev-lang/gdl/gdl-0.9_rc1.ebuild b/dev-lang/gdl/gdl-0.9_rc1.ebuild
index a7a972f4fa61..a42a69889d68 100644
--- a/dev-lang/gdl/gdl-0.9_rc1.ebuild
+++ b/dev-lang/gdl/gdl-0.9_rc1.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/dev-lang/gdl/gdl-0.9_rc1.ebuild,v 1.2 2008/05/24 17:52:25 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/gdl-0.9_rc1.ebuild,v 1.3 2008/06/06 14:31:45 markusle Exp $
inherit eutils flag-o-matic autotools
@@ -44,6 +44,13 @@ src_unpack() {
}
src_compile() {
+
+ # need to check for old plplot
+ local myconf
+ if has_version '<sci-libs/plplot-5.9.0'; then
+ myconf="${myconf} --enable-oldplplot"
+ fi
+
use proj && append-cppflags -DPJ_LIB__
econf \
$(use_with python) \
@@ -53,6 +60,7 @@ src_compile() {
$(use_with netcdf) \
$(use_with imagemagick Magick) \
$(use_with proj libproj4) \
+ ${myconf} \
|| die "econf failed"
emake || die "emake failed"