Ticket #15267 (new defect)

Opened 2 months ago

Last modified 2 months ago

ncurses/ncursesw cannot detect terminfo dir

Reported by: ryan@spacecoaster.org Assigned to: imajes@macports.org
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.6.0
Keywords: Cc:

Description

I had to add the following configure item to the Portfile to get ncurses/ncursesw to build on Leopard, otherwise configure would fail thinking that the terminfo dir was "".

--- var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw/Portfile-  2008-01-27 03:46:26.000000000 -0800
+++ var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw/Portfile   2008-05-12 11:09:19.000000000 -0700
@@ -35,7 +35,8 @@
                --without-ada \
                --enable-safe-sprintf \
                --enable-sigwinch \
-               --mandir=${prefix}/share/man
+               --mandir=${prefix}/share/man \
+               --with-default-terminfo-dir=${prefix}/share/terminfo

Change History

2008-05-12 13:42:55 changed by ryan@spacecoaster.org

Here was the configure output before the patch:

...
checking if you want modern xterm or antique... xterm-new
checking for list of terminfo directories... /opt/local/share/terminfo
checking for default terminfo directory... configure: error: expected a pathname, not ""

2008-05-13 05:30:39 changed by jmr@macports.org

  • owner changed from macports-tickets@lists.macosforge.org to imajes@macports.org.

Assigning to maintainer.