summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-10 17:17:46 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-10 17:17:46 +0000
commit35d1cbdcfd35673b741a93a0472332a609d33f50 (patch)
treeea5c9413fe977124e991eb1b273f3fe95089359a /media-gfx
parentapp-admin/webalizer: Bump to 2.21.02 (bug #231859) (diff)
downloadgentoo-2-35d1cbdcfd35673b741a93a0472332a609d33f50.tar.gz
gentoo-2-35d1cbdcfd35673b741a93a0472332a609d33f50.tar.bz2
gentoo-2-35d1cbdcfd35673b741a93a0472332a609d33f50.zip
Fix libpng14 detection.
(Portage version: 2.2_rc66/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/qrencode/ChangeLog5
-rw-r--r--media-gfx/qrencode/qrencode-3.1.1.ebuild21
2 files changed, 20 insertions, 6 deletions
diff --git a/media-gfx/qrencode/ChangeLog b/media-gfx/qrencode/ChangeLog
index f26393cda928..e34d6eb116e2 100644
--- a/media-gfx/qrencode/ChangeLog
+++ b/media-gfx/qrencode/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/qrencode
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/qrencode/ChangeLog,v 1.5 2010/02/20 20:47:27 joker Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/qrencode/ChangeLog,v 1.6 2010/03/10 17:17:46 ssuominen Exp $
+
+ 10 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> qrencode-3.1.1.ebuild:
+ Fix libpng14 detection.
*qrencode-3.1.1 (20 Feb 2010)
diff --git a/media-gfx/qrencode/qrencode-3.1.1.ebuild b/media-gfx/qrencode/qrencode-3.1.1.ebuild
index 587f2b966e88..73c2ca746db2 100644
--- a/media-gfx/qrencode/qrencode-3.1.1.ebuild
+++ b/media-gfx/qrencode/qrencode-3.1.1.ebuild
@@ -1,6 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/qrencode/qrencode-3.1.1.ebuild,v 1.1 2010/02/20 20:47:27 joker Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/qrencode/qrencode-3.1.1.ebuild,v 1.2 2010/03/10 17:17:46 ssuominen Exp $
+
+EAPI=2
+inherit autotools
DESCRIPTION="C library for encoding data in a QR Code symbol"
HOMEPAGE="http://megaui.net/fukuchi/works/qrencode/index.en.html"
@@ -11,11 +14,19 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="media-libs/libpng"
+RDEPEND="media-libs/libpng"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ sed -i \
+ -e 's:libpng12:libpng:' \
+ configure.ac || die
-RDEPEND="${DEPEND}"
+ eautoreconf
+}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed."
- dodoc README TODO NEWS ChangeLog
+ emake DESTDIR="${D}" install || die
+ dodoc ChangeLog NEWS README TODO
}