[MacPorts] #19758: libedit port links to both macports- & native-ncurses libs

MacPorts noreply at macports.org
Mon May 25 08:27:59 PDT 2009


#19758: libedit port links to both macports- & native-ncurses libs
------------------------------------------+---------------------------------
 Reporter:  pgnet.dev+macports@…          |       Owner:  macports-tickets@…                   
     Type:  defect                        |      Status:  new                                  
 Priority:  Normal                        |   Milestone:  MacPorts 1.8.0                       
Component:  ports                         |     Version:  1.7.1                                
 Keywords:                                |        Port:                                       
------------------------------------------+---------------------------------
 i'e installed ncurses via macports,

         port installed ncurses
         The following ports are currently installed:
           ncurses @5.7_0 (active)

 libedit's port depends on ncurses-port,

         grep ncurses
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libedit/Portfile

                 depends_lib      port:ncurses

 @ install of libedit,

         port install libedit

 the resultant lib is linked against BOTH macports- & native-ncurses libs,

         otool -L /opt/local/lib/libedit.0.dylib
                 /opt/local/lib/libedit.0.dylib (compatibility version
 1.0.0, current version 1.28.0)
                 /opt/local/lib/libncurses.5.dylib (compatibility version
 5.0.0, current version 5.0.0)
                 /usr/lib/libncurses.5.4.dylib (compatibility version
 5.4.0, current version 5.4.0)
                 /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0,
 current version 1.0.0)
                 /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
 current version 111.1.4)


 repeating with an attempted portfile override,

         echo 'configure.ldflags "-bind_at_load '`ncurses5-config
 --libs`'"' >>
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libedit/Portfile

         echo 'configure.cppflags "'`ncurses5-config --cflags`'"' >>
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libedit/Portfile

 gives the same result -- BOTH libs are linked.

 should be just the macports-installed libs ...

-- 
Ticket URL: <http://trac.macports.org/ticket/19758>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list