Changeset 99503
- Timestamp:
- Nov 8, 2012, 12:17:04 AM (11 years ago)
- Location:
- trunk/dports/graphics/cairo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/graphics/cairo/Portfile
r97300 r99503 10 10 conflicts cairo-devel 11 11 set my_name cairo 12 version 1.12.2 13 revision 1 12 version 1.12.8 14 13 categories graphics 15 14 maintainers ryandesign … … 30 29 available (e.g. through the X Render Extension). 31 30 32 checksums rmd160 0174a5110f5f4c9ff15da984e0602dfd04643a63 \ 33 sha256 b786bc4a70542bcb09f2d9d13e5e6a0c86408cbf6d1edde5f0de807eecf93f96 31 checksums rmd160 b27be3ba3262bdd3a5ca08c037c5df3fa1c11756 \ 32 sha256 8fbb6fc66117ab4100bad830cb4479497e53c6f3facb98bf05c8d298554ebdd9 33 34 # freedesktop is down at the moment... 35 master_sites-append ftp://distfiles.pld-linux.org/distfiles/by-md5/8/b/8b3dcade859c44fb7e56fc68edfe9a45 34 36 35 37 depends_build port:pkgconfig … … 55 57 # Prevent cairo from using librsvg, libspectre, poppler. 56 58 patchfiles-append patch-configure.diff 59 60 if {${configure.compiler} == "clang" && [file exists ${configure.cc}]} { 61 # https://trac.macports.org/ticket/34137 62 set clang_minimum_version 318.0.61 63 regexp {/clang-([0-9.]+)} [exec ${configure.cc} -v 2>@1] -> clang_installed_version 64 if {[vercmp ${clang_installed_version} ${clang_minimum_version}] < 0} { 65 compiler.blacklist clang 66 } 67 } 57 68 58 69 pre-configure { … … 85 96 configure.args-append ac_cv_prog_GS="" 86 97 87 variant opengl requires x11 conflicts no_x11description {Add OpenGL graphics interface} {98 variant opengl requires x11 description {Add OpenGL graphics interface} { 88 99 depends_lib-append port:mesa 89 100 archcheck.files-append lib/libGL.dylib … … 103 114 } 104 115 105 # https://trac.macports.org/ticket/34137106 if {${configure.compiler}=="clang"} {107 configure.compiler llvm-gcc-4.2108 }109 110 116 platform darwin 9 { 111 117 configure.compiler gcc-4.2 112 118 } 113 119 114 variant no_x11 conflicts opengl x11_xcb x11 description {Legacy compatibility variant} {} 115 variant x11 conflicts no_x11 description {Enable X11 support} { 120 variant x11 { 116 121 depends_lib-append port:xrender port:xorg-xcb-util 117 122 configure.args-delete --disable-xlib \ … … 128 133 } 129 134 130 variant x11_xcb requires x11 conflicts no_x11 description {Legacy compatibility variant} {}131 132 if {[variant_isset no_x11]} {133 default_variants -x11134 } else {135 default_variants +x11136 }137 138 135 test.run yes 139 136 test.target check -
trunk/dports/graphics/cairo/files/patch-configure.diff
r91886 r99503 1 --- configure.orig 2012- 03-23 14:35:31.000000000 -05002 +++ configure 2012- 04-12 06:11:54.000000000 -05003 @@ -30 131,7 +30131,7 @@1 --- configure.orig 2012-11-04 08:23:41.000000000 -0600 2 +++ configure 2012-11-06 13:41:24.000000000 -0600 3 @@ -30512,7 +30512,7 @@ 4 4 5 5 … … 10 10 any2ppm_ps=no 11 11 if test "x$use_ps" = "xyes"; then 12 @@ -30 528,7 +30528,7 @@12 @@ -30909,7 +30909,7 @@ 13 13 14 14 … … 19 19 any2ppm_pdf=no 20 20 if test "x$use_pdf" = "xyes"; then 21 @@ -3 0898,7 +30898,7 @@21 @@ -31279,7 +31279,7 @@ 22 22 23 23
Note: See TracChangeset
for help on using the changeset viewer.