New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79254


Ignore:
Timestamp:
06/06/11 19:32:49 (4 years ago)
Author:
jeremyhu@…
Message:

mesa: Fix +iglx variant to actually build indirect rather than direct

Location:
trunk/dports/x11/mesa
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/mesa/Portfile

    r79252 r79254  
    1111 
    1212version             7.10.2 
     13revision            1 
    1314categories          x11 graphics 
    1415maintainers         jeremyhu openmaintainer 
     
    9798 
    9899post-patch { 
    99         # http://trac.macports.org/ticket/24337 
    100         reinplace "/SRC_DIRS/ s/glew//g" ${worksrcpath}/configs/darwin 
    101  
    102100        # Ensure correct compilers are used in mklib. 
    103101        reinplace "s:LINK=\"g++\":LINK=\"${configure.cxx}\":"  ${worksrcpath}/bin/mklib 
     
    113111} 
    114112 
    115 post-destroot { 
    116         # http://trac.macports.org/ticket/24337 
    117         # http://trac.macports.org/ticket/24349 
    118         # mesa just installs all headers from GL/*.h 
    119         #delete "${destroot}${prefix}/include/GL/glew.h" 
    120         #delete "${destroot}${prefix}/include/GL/glxew.h" 
    121         #delete "${destroot}${prefix}/include/GL/wglew.h" 
    122 } 
    123  
    124113variant iglx description {Install a libGL that uses your X11 server's indirect GLX path for rendering (the default is off which allows libGL to accelerate rendering using OpenGL.framework)} { 
    125         post-patch { 
    126                 reinplace "s:src/glx/apple:src/glx:" ${worksrcpath}/configs/darwin 
    127         } 
     114    patchfiles-append mesa-7.10.2-iglx.patch 
    128115} 
    129116 
Note: See TracChangeset for help on using the changeset viewer.