Port variant "libcaca -x11" still pulls in xorg deps...

Jeremy Huddleston Sequoia jeremyhu at macports.org
Tue Apr 21 15:20:55 PDT 2015


imlib2's configure script looks like it has a way to disable X11 support, but the resulting dylib is still linked against X11 libs.  Here's a patch to get you started:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: imlib2.x11_variant.patch
Type: application/octet-stream
Size: 1207 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20150421/cf77f9b3/attachment-0001.obj>
-------------- next part --------------


freeglut (and libGLU) are GLX ports.  freeglut cannot build a GLUT.framework based on OpenGL.framework.  If you need to use GLUT/CGL, don't use the freeglut port.

> On Apr 21, 2015, at 01:01, Marko K?ning <MK-MacPorts at techno.ms> wrote:
> 
> Hi Jeremy,
> 
> this pulls in xorg:
> ---
> $ sudo port install libcaca -x11
> --->  Computing dependencies for libcaca
> --->  Dependencies to be installed: freeglut libGLU mesa xorg-dri2proto xorg-glproto xorg-libXdamage xorg-damageproto xorg-libXxf86vm xorg-xf86vidmodeproto imlib2 libid3tag
> ---
> 
> because of imlib2 and free glut - due to missing x11 variants:
> ---
> $ port variants imlib2 freeglut
> imlib2 has the variants:
>   universal: Build for multiple architectures
> freeglut has the variants:
>   debug: Enable debug binaries
>   universal: Build for multiple architectures
> ---
> 
> Any ideas how to fix this?
> 
> Greets,
> Marko
> 
> 
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4118 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20150421/cf77f9b3/attachment-0001.p7s>


More information about the macports-dev mailing list