summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2012-06-24 12:14:05 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2012-06-24 12:14:05 +0000
commitea4d479cb5ac2266078a0517034b3599c9450742 (patch)
treec6fa8896aa4ec3dfaf15017347fc105eb1d2d245 /media-libs
parentRemove obsolete KOffice mask (diff)
downloadgentoo-2-ea4d479cb5ac2266078a0517034b3599c9450742.tar.gz
gentoo-2-ea4d479cb5ac2266078a0517034b3599c9450742.tar.bz2
gentoo-2-ea4d479cb5ac2266078a0517034b3599c9450742.zip
fixing compile-error, solving bug #423065.
(Portage version: 2.2.0_alpha111/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/leptonica/ChangeLog5
-rw-r--r--media-libs/leptonica/leptonica-1.68.ebuild27
2 files changed, 19 insertions, 13 deletions
diff --git a/media-libs/leptonica/ChangeLog b/media-libs/leptonica/ChangeLog
index 675b61fa66b0..0d1f12902241 100644
--- a/media-libs/leptonica/ChangeLog
+++ b/media-libs/leptonica/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/leptonica
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/ChangeLog,v 1.1 2012/02/16 00:06:55 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/ChangeLog,v 1.2 2012/06/24 12:14:05 sbriesen Exp $
+
+ 24 Jun 2012; Stefan Briesenick <sbriesen@gentoo.org> leptonica-1.68.ebuild:
+ fixing compile-error, solving bug #423065.
*leptonica-1.68 (16 Feb 2012)
diff --git a/media-libs/leptonica/leptonica-1.68.ebuild b/media-libs/leptonica/leptonica-1.68.ebuild
index eac6d0a25f83..1b80f38baf27 100644
--- a/media-libs/leptonica/leptonica-1.68.ebuild
+++ b/media-libs/leptonica/leptonica-1.68.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/leptonica-1.68.ebuild,v 1.1 2012/02/16 00:06:55 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/leptonica-1.68.ebuild,v 1.2 2012/06/24 12:14:05 sbriesen Exp $
EAPI=4
@@ -25,28 +25,31 @@ RDEPEND="${DEPEND}"
DOCS=( README version-notes )
+# see bug 297101, error when enabling png and zlib
+PATCHES=( "${FILESDIR}/${P}-zlib-include.patch" )
+
src_prepare() {
# unhtmlize docs
local X
for X in ${DOCS[@]}; do
awk '/<\/pre>/{s--} {if (s) print $0} /<pre>/{s++}' \
"${X}.html" > "${X}" || die 'awk failed'
- rm -f "${X}.html"
+ rm -f -- "${X}.html"
done
-
- # see bug 297101, error when enabling png and zlib
- epatch "${FILESDIR}/${P}-zlib-include.patch"
+ autotools-utils_src_prepare
}
src_configure() {
# $(use_with webp libwebp) -> unknown
# so use-flag just for pulling dependencies
- econf \
- $(use_with gif giflib) \
- $(use_with jpeg) \
- $(use_with png libpng) \
- $(use_with tiff libtiff) \
- $(use_with zlib) \
- $(use_enable utils programs) \
+ local myeconfargs=(
+ $(use_with gif giflib)
+ $(use_with jpeg)
+ $(use_with png libpng)
+ $(use_with tiff libtiff)
+ $(use_with zlib)
+ $(use_enable utils programs)
$(use_enable static-libs static)
+ )
+ autotools-utils_src_configure
}