summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2008-05-22 22:46:12 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2008-05-22 22:46:12 +0000
commitfc2c29783a9ba00355a827ce4787ba2ee927e879 (patch)
treef42208a10706c97ff07de4d09b45f6573ee0a0b6 /dev-libs
parentversion bump (diff)
downloadgentoo-2-fc2c29783a9ba00355a827ce4787ba2ee927e879.tar.gz
gentoo-2-fc2c29783a9ba00355a827ce4787ba2ee927e879.tar.bz2
gentoo-2-fc2c29783a9ba00355a827ce4787ba2ee927e879.zip
Fix broken <python-2.5 site-packages detection see bug #86756 and bug #218643
(Portage version: 2.1.5)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libxslt/ChangeLog6
-rw-r--r--dev-libs/libxslt/libxslt-1.1.24.ebuild9
2 files changed, 12 insertions, 3 deletions
diff --git a/dev-libs/libxslt/ChangeLog b/dev-libs/libxslt/ChangeLog
index 35fd81cc5213..0a4d137dee1d 100644
--- a/dev-libs/libxslt/ChangeLog
+++ b/dev-libs/libxslt/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libxslt
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/ChangeLog,v 1.184 2008/05/22 17:40:45 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/ChangeLog,v 1.185 2008/05/22 22:46:12 eva Exp $
+
+ 22 May 2008; Gilles Dartiguelongue <eva@gentoo.org> libxslt-1.1.24.ebuild:
+ Fix broken <python-2.5 site-packages detection, see bug #86756 and bug
+ #218643.
22 May 2008; Raúl Porcel <armin76@gentoo.org> libxslt-1.1.24.ebuild:
ia64 stable wrt #222499
diff --git a/dev-libs/libxslt/libxslt-1.1.24.ebuild b/dev-libs/libxslt/libxslt-1.1.24.ebuild
index cffe764cab43..af0bbc1a64dc 100644
--- a/dev-libs/libxslt/libxslt-1.1.24.ebuild
+++ b/dev-libs/libxslt/libxslt-1.1.24.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.1.24.ebuild,v 1.8 2008/05/22 17:40:45 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.1.24.ebuild,v 1.9 2008/05/22 22:46:12 eva Exp $
inherit libtool eutils python autotools
@@ -32,7 +32,12 @@ src_unpack() {
# Patch Makefile to fix bug #99382 so that html gets installed in ${PF}
sed -i -e "s:libxslt-\$(VERSION):${PF}:" doc/Makefile.am
- eautomake
+ # Fix broken <python-2.5 site-packages detection
+ # see bug #86756 and bug #218643
+ python_version
+ sed -i "s:^\(AC_SUBST(PYTHON_SITE_PACKAGES)\):PYTHON_SITE_PACKAGES=\"/usr/$(get_libdir)/python${PYVER}/site-packages\"\n\1:" configure.in
+
+ eautoreconf
epunt_cxx
elibtoolize
}