Opened 15 years ago
Closed 13 years ago
#20462 closed defect (fixed)
giflib @4.1.6 +no_x11 still links against X11
Reported by: | BSeppke (Benjamin Seppke) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: | giflib |
Description (last modified by mf2k (Frank Schima))
When building the giflib port with the variant no_x11 using:
> port install giflib +no_x11
the result differs from that one, I'd expect. Looking at the dependencies of the compiled giflib, I get:
> otool -L /opt/local/lib/libgif.4.1.6.dylib /opt/local/lib/libgif.4.1.6.dylib: /opt/local/lib/libgif.4.dylib /opt/local/lib/libX11.6.dylib /opt/local/lib/libXau.6.dylib /opt/local/lib/libXdmcp.6.dylib /usr/lib/libgcc_s.1.dylib /usr/lib/libSystem.B.dylib
As you can see, the X11-bindings are still present, although the
/opt/local/lib/libSM.6.dylib and /opt/local/lib/libICE.6.dylib
bindings have disappeared.
If I build the giflib on my own using
>./configure --prefix=/opt/local/ --without-x --without-sm ,
I will get the right results (a dylib without any references to x11) so I tried to edit the portfile itself like this:
variant no_x11 { depends_lib-delete port:xorg-libsm depends_lib-delete port:xorg-libX11 configure.args-append --without-x configure.args-append --without-sm }
However, this also didn't work ... I would be very grateful for any help!
Change History (3)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | giflib added |
comment:2 Changed 14 years ago by jmroot (Joshua Root)
Summary: | giflib 4.1.6 - variant no_x11 with strange behaviour → giflib @4.1.6 +no_x11 still links against X11 |
---|
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
r93239