summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2006-06-09 19:22:52 +0000
committerSteve Arnold <nerdboy@gentoo.org>2006-06-09 19:22:52 +0000
commit2e5735b6196440dd7b157b0088e61066b7b6a213 (patch)
treecff081f6f01f96f62897e0c136c0b4f84ed2364d /sci-libs/gdal/gdal-1.3.2.ebuild
parentReplace token ring patch - doh (diff)
downloadgentoo-2-2e5735b6196440dd7b157b0088e61066b7b6a213.tar.gz
gentoo-2-2e5735b6196440dd7b157b0088e61066b7b6a213.tar.bz2
gentoo-2-2e5735b6196440dd7b157b0088e61066b7b6a213.zip
added upstream CVS patch for bug 134498, stable bumps for 1.3.1
(Portage version: 2.1_rc4-r5)
Diffstat (limited to 'sci-libs/gdal/gdal-1.3.2.ebuild')
-rw-r--r--sci-libs/gdal/gdal-1.3.2.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sci-libs/gdal/gdal-1.3.2.ebuild b/sci-libs/gdal/gdal-1.3.2.ebuild
index bb6df83f5b23..d59ffae9fc4e 100644
--- a/sci-libs/gdal/gdal-1.3.2.ebuild
+++ b/sci-libs/gdal/gdal-1.3.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.3.2.ebuild,v 1.2 2006/05/26 00:11:02 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.3.2.ebuild,v 1.3 2006/06/09 19:22:52 nerdboy Exp $
inherit eutils libtool gnuconfig distutils toolchain-funcs
@@ -46,6 +46,9 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/${P}-destdir.patch || die "epatch failed"
epatch ${FILESDIR}/${P}-ruby-install.patch || die "epatch failed"
+ if [ $(gcc-major-version) -eq 4 ]; then
+ epatch ${FILESDIR}/${P}-gcc4-stl.patch || die "epatch failed"
+ fi
elibtoolize --patch-only
gnuconfig_update
if useq netcdf && useq hdf; then