summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-08 20:14:28 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-08 20:14:28 +0000
commit6beb627d5446ee2343b1dc28299926019e27b535 (patch)
tree04f9ae5731d6d18c6538f8599e9ef6c904150a32 /media-libs/gd
parentNew version, video calls have been disabled upstream because MSN turned off t... (diff)
downloadgentoo-2-6beb627d5446ee2343b1dc28299926019e27b535.tar.gz
gentoo-2-6beb627d5446ee2343b1dc28299926019e27b535.tar.bz2
gentoo-2-6beb627d5446ee2343b1dc28299926019e27b535.zip
Drop redudant has_version, works also with libpng12
(Portage version: 2.2_rc65/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/gd')
-rw-r--r--media-libs/gd/gd-2.0.35-r1.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/media-libs/gd/gd-2.0.35-r1.ebuild b/media-libs/gd/gd-2.0.35-r1.ebuild
index 866924b1f3e9..71ee7679d24b 100644
--- a/media-libs/gd/gd-2.0.35-r1.ebuild
+++ b/media-libs/gd/gd-2.0.35-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/gd-2.0.35-r1.ebuild,v 1.8 2010/03/08 09:42:43 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/gd-2.0.35-r1.ebuild,v 1.9 2010/03/08 20:14:28 ssuominen Exp $
inherit autotools
@@ -23,11 +23,9 @@ DEPEND="${RDEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}"/${P}-libpng14.patch \
+ "${FILESDIR}"/${P}-maxcolors.patch
- has_version ">=media-libs/libpng-1.4" && epatch \
- "${FILESDIR}"/${P}-libpng14.patch
-
- epatch "${FILESDIR}"/${P}-maxcolors.patch
eautoconf
find . -type f -print0 | xargs -0 touch -r configure
}