summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Østergaard <kloeri@gentoo.org>2004-02-20 04:49:07 +0000
committerBryan Østergaard <kloeri@gentoo.org>2004-02-20 04:49:07 +0000
commit812beaf750be1983a9fc109b7e529411d53c85d3 (patch)
treee3d137a16335f3a25bfe43288541e27f179fe748 /dev-db/metakit
parentAdd 2.6.3. sparc-dev-sources is deprecated; use development-sources. (diff)
downloadhistorical-812beaf750be1983a9fc109b7e529411d53c85d3.tar.gz
historical-812beaf750be1983a9fc109b7e529411d53c85d3.tar.bz2
historical-812beaf750be1983a9fc109b7e529411d53c85d3.zip
Fix annoying python2.3 paths which broke emerge on python2.2 systems. Closes bug #42205.
Diffstat (limited to 'dev-db/metakit')
-rw-r--r--dev-db/metakit/ChangeLog7
-rw-r--r--dev-db/metakit/Manifest4
-rw-r--r--dev-db/metakit/metakit-2.4.9.3-r2.ebuild11
3 files changed, 17 insertions, 5 deletions
diff --git a/dev-db/metakit/ChangeLog b/dev-db/metakit/ChangeLog
index 8e7249ad92b3..79f53853395f 100644
--- a/dev-db/metakit/ChangeLog
+++ b/dev-db/metakit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/metakit
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/ChangeLog,v 1.12 2004/02/14 00:22:25 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/ChangeLog,v 1.13 2004/02/20 04:49:07 kloeri Exp $
+
+ 20 Feb 2004; Bryan Østergaard,,, <kloeri@gentoo.org>
+ metakit-2.4.9.3-r2.ebuild:
+ Fix annoying python2.3 paths which broke emerge on python2.2 systems. Closes
+ bug #42205.
*metakit-2.4.9.3-r2 (14 Feb 2004)
diff --git a/dev-db/metakit/Manifest b/dev-db/metakit/Manifest
index 2b680c11721f..51e9a68a0027 100644
--- a/dev-db/metakit/Manifest
+++ b/dev-db/metakit/Manifest
@@ -2,9 +2,9 @@ MD5 77e3eb02c209a92016f4f01ebbdb2322 metakit-2.4.9.2.ebuild 1491
MD5 09016b2fa10c449d2dd647c66182314e metakit-2.4.9.3-r1.ebuild 1275
MD5 df6f5d69fb3b8d526233e3c13a8897c8 metakit-2.4.9.2-r1.ebuild 1518
MD5 12b797ce43b2deed9ff1d70dea043bd5 metakit-2.4.9.3.ebuild 1224
-MD5 36da15dba21221e4a47f616aa8e1e407 metakit-2.4.9.3-r2.ebuild 1194
+MD5 1dc5697d316b1abbc121601713634c9e metakit-2.4.9.3-r2.ebuild 1448
MD5 617900173d314bbf02d97c5e588f84e1 metakit-2.4.7.37.ebuild 1573
-MD5 90e6fa645acc4b16ebd988e42cfe047b ChangeLog 1598
+MD5 8d5eb0443d28bdfcbc271a3aba99c383 ChangeLog 1776
MD5 3fc96743460411b499e8c6dd39c756fd files/digest-metakit-2.4.9.2 133
MD5 00fc347ece0536a96f90ddf76d90bf51 files/digest-metakit-2.4.9.3 67
MD5 0f63d5f3d5f137464097c1539a07496d files/digest-metakit-2.4.9.2-r1 67
diff --git a/dev-db/metakit/metakit-2.4.9.3-r2.ebuild b/dev-db/metakit/metakit-2.4.9.3-r2.ebuild
index ecfd3da74281..cc86b6251be3 100644
--- a/dev-db/metakit/metakit-2.4.9.3-r2.ebuild
+++ b/dev-db/metakit/metakit-2.4.9.3-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/metakit-2.4.9.3-r2.ebuild,v 1.1 2004/02/14 00:22:25 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/metakit-2.4.9.3-r2.ebuild,v 1.2 2004/02/20 04:49:07 kloeri Exp $
inherit python
@@ -18,8 +18,15 @@ DEPEND=">=sys-apps/sed-4
tcltk? ( >=dev-lang/tcl-8.3.3-r2 )"
src_unpack() {
+ python_version
+
unpack ${A} ; cd ${S}
- sed -i "s:^\(CXXFLAGS = \).*:\1${CXXFLAGS}:" unix/Makefile.in
+ # Fix all hardcoded python2.3 paths
+ for name in python/scxx/PWOBase.h python/PyHead.h python/PyStorage.cpp ; do
+ sed -i -e "s:Python.h:python${PYVER}/Python.h:" ${name}
+ done
+ sed -i -e "s:python2.3:python${PYVER}:" unix/configure
+ sed -i -e "s:^\(CXXFLAGS = \).*:\1${CXXFLAGS}:" unix/Makefile.in
}
src_compile() {