Opened 15 years ago
Closed 15 years ago
#19758 closed defect (fixed)
libedit port links to both macports- & native-ncurses libs
Reported by: | pgnet.dev+macports@… | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: | libedit |
Description
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 ...
Change History (5)
comment:1 Changed 15 years ago by jameskyle@…
comment:2 Changed 15 years ago by blb@…
Owner: | changed from macports-tickets@… to mcalhoun@… |
---|---|
Port: | libedit added |
comment:3 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Status: | new → assigned |
---|
comment:4 Changed 15 years ago by blb@…
Milestone: | MacPorts 1.8.0 |
---|
comment:5 Changed 15 years ago by tobypeterson
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Should be fixed in r51581
I see this behavior as well, except in mine the installed macrpots ncurses is not linked at all:
Output from otool: