Opened 15 years ago

Last modified 12 years ago

#20462 closed defect

giflib 4.1.6 - variant no_x11 with strange behaviour — at Initial Version

Reported by: BSeppke (Benjamin Seppke) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: giflib

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!

Change History (0)

Note: See TracTickets for help on using tickets.