#20462: giflib 4.1.6 - variant no_x11 with strange behaviour ---------------------------------------+------------------------------------ Reporter: benjamin.seppke@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: giflib ---------------------------------------+------------------------------------ Changes (by macsforever2000@…): * owner: macports-tickets@… => ryandesign@… * port: => giflib Old description:
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!
New description: 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! -- -- Ticket URL: <http://trac.macports.org/ticket/20462#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS