From 5a18629c0d01e0b64d9ca78732b7bba8818728f2 Mon Sep 17 00:00:00 2001 From: Martin Schlemmer Date: Tue, 15 Oct 2002 19:50:14 +0000 Subject: [PATCH] fix type-o --- dev-lang/python/ChangeLog | 7 ++++++- dev-lang/python/python-2.2.1-r5.ebuild | 9 ++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog index 50b014f06cdc..fe7df495dd20 100644 --- a/dev-lang/python/ChangeLog +++ b/dev-lang/python/ChangeLog @@ -1,9 +1,14 @@ # ChangeLog for dev-lang/python # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.15 2002/10/03 14:15:25 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.16 2002/10/15 19:50:14 azarah Exp $ *python-2.2.1-r5 (03 Oct 2002) + 15 Oct 2002; Martin Schlemmer : + Fix the sed on /usr/lib/python/config/Makefile to change + OPT to 'OPT = -DNDEBUG', and not 'OPT = -NDEBUG' which caused + gcc warnings. + 03 Oct 2002; Daniel Ahlberg : Security update. diff --git a/dev-lang/python/python-2.2.1-r5.ebuild b/dev-lang/python/python-2.2.1-r5.ebuild index a673eebfdd78..b9846ab1ff8d 100644 --- a/dev-lang/python/python-2.2.1-r5.ebuild +++ b/dev-lang/python/python-2.2.1-r5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.2.1-r5.ebuild,v 1.3 2002/10/05 05:39:10 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.2.1-r5.ebuild,v 1.4 2002/10/15 19:50:14 azarah Exp $ IUSE="readline tcltk berkdb bootstrap" @@ -82,12 +82,7 @@ src_install() { # While we're working on the config stuff... Let's fix the OPT var # so that it doesn't have any opts listed in it. Prevents the problem # with compiling things with conflicting opts later. - mv \ - ${D}/usr/lib/python${PYVER}/config/Makefile \ - ${D}/usr/lib/python${PYVER}/config/Makefile.orig - sed 's:^OPT=.*:OPT=-NDEBUG:' \ - < ${D}/usr/lib/python${PYVER}/config/Makefile.orig \ - > ${D}/usr/lib/python${PYVER}/config/Makefile + dosed -e 's:^OPT=.*:OPT=-DNDEBUG:' /usr/lib/python${PYVER}/config/Makefile # If USE tcltk lets install idle # Need to script the python version in the path -- 2.26.2