summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-10-08 11:42:49 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-10-08 11:42:49 +0000
commitdd0a155dd16a1fd4fed87a649fc7274f9a04b58b (patch)
tree34b35ae95cb230447beaaa13389c79defcb19423 /dev-libs/libxslt
parentVersion bump wrt #288126, thanks to George Waksman for reporting. (diff)
downloadgentoo-2-dd0a155dd16a1fd4fed87a649fc7274f9a04b58b.tar.gz
gentoo-2-dd0a155dd16a1fd4fed87a649fc7274f9a04b58b.tar.bz2
gentoo-2-dd0a155dd16a1fd4fed87a649fc7274f9a04b58b.zip
Because libgcrypt is missing pkg-config file, fixing cross-compile here wrt #267503, thanks to Andrei Slavoiu.
(Portage version: 2.2_rc44/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libxslt')
-rw-r--r--dev-libs/libxslt/ChangeLog6
-rw-r--r--dev-libs/libxslt/libxslt-1.1.26.ebuild10
2 files changed, 13 insertions, 3 deletions
diff --git a/dev-libs/libxslt/ChangeLog b/dev-libs/libxslt/ChangeLog
index f3725d3f45a0..21455581cfb5 100644
--- a/dev-libs/libxslt/ChangeLog
+++ b/dev-libs/libxslt/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libxslt
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/ChangeLog,v 1.195 2009/10/07 15:51:06 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/ChangeLog,v 1.196 2009/10/08 11:42:49 ssuominen Exp $
+
+ 08 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> libxslt-1.1.26.ebuild:
+ Because libgcrypt is missing pkg-config file, fixing cross-compile here
+ wrt #267503, thanks to Andrei Slavoiu.
07 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> libxslt-1.1.26.ebuild,
+files/libxslt-1.1.26-undefined.patch:
diff --git a/dev-libs/libxslt/libxslt-1.1.26.ebuild b/dev-libs/libxslt/libxslt-1.1.26.ebuild
index d8e8319288b9..5b0f12fcbea2 100644
--- a/dev-libs/libxslt/libxslt-1.1.26.ebuild
+++ b/dev-libs/libxslt/libxslt-1.1.26.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.1.26.ebuild,v 1.4 2009/10/07 15:51:06 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.1.26.ebuild,v 1.5 2009/10/08 11:42:49 ssuominen Exp $
EAPI=2
-inherit autotools eutils
+inherit autotools eutils toolchain-funcs
DESCRIPTION="XSLT libraries and tools"
HOMEPAGE="http://www.xmlsoft.org/"
@@ -28,6 +28,12 @@ src_prepare() {
}
src_configure() {
+ # libgcrypt is missing pkg-config file, so fixing cross-compile
+ # here. see bug 267503.
+ if tc-is-cross-compiler; then
+ export LIBGCRYPT_CONFIG="${SYSROOT}/usr/bin/libgcrypt-config"
+ fi
+
econf \
--disable-dependency-tracking \
--with-html-dir=/usr/share/doc/${PF} \