3 diff -wpruN '--exclude=*.orig' a~/setup.py a/setup.py
4 --- a~/setup.py 1970-01-01 00:00:00
5 +++ a/setup.py 1970-01-01 00:00:00
6 @@ -1331,6 +1331,9 @@ class PyBuildExt(build_ext):
9 panel_library = 'panel'
10 + if host_platform == 'sunos5':
11 + curses_library = 'ncurses'
13 if curses_library == 'ncursesw':
14 curses_defines.append(('HAVE_NCURSESW', '1'))
15 curses_includes.append('/usr/include/ncursesw')