# 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 <azarah@gentoo.org> :
+ Fix the sed on /usr/lib/python<ver>/config/Makefile to change
+ OPT to 'OPT = -DNDEBUG', and not 'OPT = -NDEBUG' which caused
+ gcc warnings.
+
03 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> :
Security update.
# 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"
# 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