# The default version of python in Debian Sid is currently 2.3
# Drop this patch when that changes.
#  -- amck, 2005-10-22.

diff -ruN newt-0.52.1-old/Makefile.in newt-0.52.1/Makefile.in
--- newt-0.52.2-old/Makefile.in	2005-09-30 15:20:53.000000000 +0100
+++ newt-0.52.2/Makefile.in	2005-10-22 20:45:11.000000000 +0100
@@ -10,7 +10,7 @@
 CVSTAG = r$(subst .,-,$(VERSION))
 SONAME = @SONAME@
 
-PYTHONVERS = python2.4
+PYTHONVERS = $(shell pyversions --supported)
 
 WHIPTCLSO=whiptcl.so
 
