Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #16778: Portfile.patch

File Portfile.patch, 1.5 KB (added by mail_ben_schmidt@…, 3 months ago)
  • Portfile

     
    9292        --without-x 
    9393} 
    9494 
     95variant no_quartz { 
     96} 
     97 
    9598platform macosx { 
    9699    pre-fetch { 
    97100        if {${os.major} == 8} { 
     
    102105            } 
    103106        } 
    104107    } 
    105     if {${os.major} > 7} { 
    106         configure.args-delete \ 
    107             --disable-quartz \ 
    108             --disable-quartz-font \ 
    109             --disable-quartz-image \ 
    110          
    111         configure.args-append \ 
    112             --enable-quartz \ 
    113             --enable-quartz-font \ 
    114             --enable-quartz-image \ 
    115          
    116         post-destroot { 
    117             xinstall -m 0644 -W [lindex ${my_worksrcpaths} 0] \ 
    118                 src/cairo-quartz-font.pc \ 
    119                 ${destroot}${prefix}/lib/pkgconfig 
     108    if {![variant_isset no_quartz]} { 
     109        if {${os.major} > 7} { 
     110            configure.args-delete \ 
     111                --disable-quartz \ 
     112                --disable-quartz-font \ 
     113                --disable-quartz-image \ 
     114             
     115            configure.args-append \ 
     116                --enable-quartz \ 
     117                --enable-quartz-font \ 
     118                --enable-quartz-image \ 
     119             
     120            post-destroot { 
     121                xinstall -m 0644 -W [lindex ${my_worksrcpaths} 0] \ 
     122                    src/cairo-quartz-font.pc \ 
     123                    ${destroot}${prefix}/lib/pkgconfig 
     124            } 
    120125        } 
    121126    } 
    122127}