Ticket #23483: cairo-xcb.diff
File cairo-xcb.diff, 3.7 KB (added by jmroot (Joshua Root), 14 years ago) |
---|
-
Portfile
34 34 depends_build port:pkgconfig 35 35 36 36 depends_lib path:lib/pkgconfig/pixman-1.pc:libpixman \ 37 port:xrender \38 37 port:fontconfig \ 39 38 port:freetype \ 40 39 port:libpng \ … … 42 41 port:expat 43 42 44 43 archcheck.files lib/libpixman-1.dylib \ 45 lib/libXrender.dylib \46 44 lib/libfontconfig.dylib \ 47 45 lib/libfreetype.dylib \ 48 46 lib/libpng.dylib \ … … 64 62 --disable-quartz \ 65 63 --disable-quartz-font \ 66 64 --disable-quartz-image \ 65 --disable-xlib \ 67 66 --disable-xcb \ 67 --without-x \ 68 68 --enable-ft \ 69 69 --enable-pdf \ 70 70 --enable-png \ … … 72 72 --enable-script \ 73 73 --enable-svg \ 74 74 --enable-tee \ 75 --enable-xml \ 76 --enable-xlib \ 77 --enable-xlib-xrender \ 78 --with-x \ 79 --x-include=${prefix}/include \ 80 --x-lib=${prefix}/lib 75 --enable-xml 81 76 82 variant opengl conflicts no_x11 description {Add OpenGL graphics interface} {77 variant opengl requires x11 conflicts no_x11 description {Add OpenGL graphics interface} { 83 78 depends_lib-append port:mesa 84 79 archcheck.files-append lib/libGL.dylib 85 80 configure.args-delete --disable-gl … … 102 97 configure.compiler gcc-4.2 103 98 } 104 99 105 variant no_x11 conflicts opengl x11_xcb { 106 depends_lib-delete port:xrender 107 archcheck.files-delete lib/libXrender.dylib 108 configure.args-delete --enable-xlib \ 109 --enable-xlib-xrender \ 110 --with-x 111 configure.args-append --disable-xlib \ 100 variant no_x11 conflicts opengl x11_xcb x11 description {obsolete variant retained for compatibility} {} 101 variant x11 conflicts no_x11 description {Enable X11 support} { 102 depends_lib-append port:xrender port:xorg-xcb-util 103 configure.args-delete --disable-xlib \ 112 104 --disable-xlib-xrender \ 113 --without-x 105 --without-x \ 106 --disable-xcb 107 configure.args-append --enable-xlib \ 108 --enable-xlib-xrender \ 109 --enable-xcb \ 110 --enable-xcb-shm \ 111 --enable-xlib-xcb \ 112 --with-x \ 113 --x-include=${prefix}/include \ 114 --x-lib=${prefix}/lib 114 115 } 115 116 116 variant x11_xcb conflicts no_x11 description {Use libxcb for X11 protocol communication} { 117 configure.args-delete --disable-xcb 118 configure.args-append --enable-xcb \ 119 --enable-xcb-shm \ 120 --enable-xlib-xcb 121 depends_lib-append port:xorg-xcb-util 122 archcheck.files-append lib/libxcb-render-util.dylib 117 variant x11_xcb requires x11 conflicts no_x11 description {obsolete variant retained for compatibility} {} 118 119 if {![variant_isset no_x11]} { 120 default_variants +x11 123 121 } 124 122 125 123 test.run yes