diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-08-13 03:19:23 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-08-13 03:19:23 +0000 |
commit | 63410dada5ec1842e84f04a18e004a7b69c525be (patch) | |
tree | 9c200d4f1e40d78863f63f86dcc4fa8063b64bd6 /media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild | |
parent | Check image dir rather than filesystem for multilib paths so we get proper LD... (diff) | |
download | gentoo-2-63410dada5ec1842e84f04a18e004a7b69c525be.tar.gz gentoo-2-63410dada5ec1842e84f04a18e004a7b69c525be.tar.bz2 gentoo-2-63410dada5ec1842e84f04a18e004a7b69c525be.zip |
Fix building with libpng15 wrt #378511 by Diego Elio Pettenò
(Portage version: 2.2.0_alpha50/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild')
-rw-r--r-- | media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild b/media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild index 9801a71ace44..9ab9d1950304 100644 --- a/media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild +++ b/media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild @@ -1,9 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild,v 1.3 2010/10/10 11:57:19 phajdan.jr Exp $ - -EAPI=2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild,v 1.4 2011/08/13 03:19:23 ssuominen Exp $ +EAPI=4 inherit eutils toolchain-funcs DESCRIPTION="Convert png images to MS ico format" @@ -15,11 +14,13 @@ SLOT="0" KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="" -DEPEND="media-libs/libpng" -RDEPEND="${DEPEND}" +RDEPEND=">=media-libs/libpng-1.4" +DEPEND="${RDEPEND}" src_prepare() { - epatch "${FILESDIR}/${P}-Makefile.patch" + epatch \ + "${FILESDIR}"/${P}-Makefile.patch \ + "${FILESDIR}"/${P}-libpng15.patch } src_compile() { @@ -27,6 +28,6 @@ src_compile() { } src_install() { - dobin pngtoico - doman pngtoico.1 + dobin ${PN} + doman ${PN}.1 } |