[MacPorts] #43582: surf: variant without x11 doesn't build

MacPorts noreply at macports.org
Mon May 5 09:04:16 PDT 2014


#43582: surf: variant without x11 doesn't build
----------------------+--------------------------------
  Reporter:  mojca@…  |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:           |
----------------------+--------------------------------

Comment (by devans@…):

 Referring to Makefile.am the --disable-gui directive will not be honored
 unless --disable-cups is also asserted.  Having done this and deleting the
 dependency xorg-libXmu, the +no_x11 build still fails with this error


 {{{
 xwd.cc:54:10: fatal error: 'X11/Xlib.h' file not found
 #include <X11/Xlib.h>
          ^
 2 warnings generated.
 1 error generated.
 make[1]: *** [xwd.o] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_macports_trunk_dports_math_surf/surf/work/surf-1.0.6
 /image-formats'

 }}}

 So this shows that disabling the gui (gtk1) does not completely eliminate
 dependencies on X11.  It's also needed to support X11 image file formats.
 To completely disable the need for X11 one would have to disable this
 support (via a patch) as well.  See
 {{{
 image-formats/Makefile.am
 image-formats/xbitmap.cc
 image-formats/xbitmap.cc
 image-formats/xwd.cc
 image-formats/xwd.h
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/43582#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list