New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20462 (closed defect: fixed)

Opened 4 years ago

Last modified 13 months ago

giflib @4.1.6 +no_x11 still links against X11

Reported by: benjamin.seppke@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: giflib

Description (last modified by macsforever2000@…) (diff)

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

comment:1 Changed 4 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to ryandesign@…
  • Port set to giflib
  • Description modified (diff)

comment:2 Changed 3 years ago by jmr@…

  • Summary changed from giflib 4.1.6 - variant no_x11 with strange behaviour to giflib @4.1.6 +no_x11 still links against X11

comment:3 Changed 13 months ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.