fix type-o
authorMartin Schlemmer <azarah@gentoo.org>
Tue, 15 Oct 2002 19:50:14 +0000 (19:50 +0000)
committerMartin Schlemmer <azarah@gentoo.org>
Tue, 15 Oct 2002 19:50:14 +0000 (19:50 +0000)
dev-lang/python/ChangeLog
dev-lang/python/python-2.2.1-r5.ebuild

index 50b014f06cdcd64767c7339ca7214f598474e39d..fe7df495dd20f116d1d7a43fedee35482ef82e25 100644 (file)
@@ -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 <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.
 
index a673eebfdd7814ec907ba68b14bd2f40fa81cbe5..b9846ab1ff8d9ff25993fec652e3e61bc9897e1b 100644 (file)
@@ -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