[MacPorts] #27111: building gdk-pixbuf2 fails: "glib.h not found" but only in contrib/gdk-pixbuf-lib

MacPorts noreply at macports.org
Tue Nov 2 10:07:39 PDT 2010


#27111: building gdk-pixbuf2 fails: "glib.h not found" but only in contrib/gdk-
pixbuf-lib
-----------------------------------+----------------------------------------
 Reporter:  list-ener@…            |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.9.1                                
 Keywords:                         |        Port:  gdk-pixbuf2                          
-----------------------------------+----------------------------------------
 I solved it by manually changing one line in::

   ./contrib/gdk-pixbuf-lib/Makefile

 to actually include the glib2 dependency (diff-like)::

   -GDK_PIXBUF_XLIB_DEP_CFLAGS =
   +GDK_PIXBUF_XLIB_DEP_CFLAGS = ${GDK_PIXBUF_DEP_CFLAGS}

 I also changed the following include line in the Portfile which probably
 was not necessary but seems cleaner::

   # depends_lib                 path:lib/pkgconfig/glib-2.0.pc:glib \
   depends_lib                 port:glib2 \

-- 
Ticket URL: <https://trac.macports.org/ticket/27111>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list