A quick inspection reveals that the detection of ncurses between python26 and python27 was changed subtly, but the port's patch file was adapted rather blindly, so it fails to work with the new detection code.
The problem can be fixed by changing the following line in ports/lang/python27/files/patch-setup.py: + if curses_library.startswith('xxxncurses'): to: + if curses_library.startswith('ncurses'): With that change, curses detection works again, _curses.so is built, and Python programs that use curses work fine. The complete, working patch file can be downloaded here (it replaces the existing patch file): http://www.secnetix.de/olli/tmp/patch-setup.py Can someone please take care of this, or do I have to submit a PR? Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "I started using PostgreSQL around a month ago, and the feeling is similar to the switch from Linux to FreeBSD in '96 -- 'wow!'." -- Oddbjorn Steffensen _______________________________________________ freebsd-python@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"