[MacPorts] #13359: BUG: zsh-devel is built against /usr/include/curses.h and linked with MacPorts ncurses

MacPorts trac at macosforge.org
Thu Nov 22 10:44:09 PST 2007


#13359: BUG: zsh-devel is built against /usr/include/curses.h and linked with
MacPorts ncurses
----------------------------------+-----------------------------------------
  Reporter:  vinc17 at macports.org  |       Owner:  nox at macports.org
      Type:  defect               |      Status:  reopened        
  Priority:  Normal               |   Milestone:  Port Bugs       
 Component:  ports                |     Version:  1.5.2           
Resolution:                       |    Keywords:                  
----------------------------------+-----------------------------------------
Changes (by vinc17 at macports.org):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 /usr/include/ncurses.h is incorrect (this is just a symlink to curses.h,
 but this is not a header file from MacPorts). One needs to use the
 ncurses.h from MacPorts, which is, since zsh-devel depends on ncurses:
 {{{
 prunille:~> port contents ncurses | grep ncurses.h
   /opt/local/include/ncurses/ncurses.h
 }}}
 So, instead of replacing curses.h by ncurses.h, it needs to be replaced by
 ncurses/ncurses.h, probably with:
 {{{
 reinplace "s|curses\\.h|ncurses/ncurses.h|"
 }}}
 (not tested).

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13359#comment:3>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list