Ticket #20924: patch-pango-1.28.1-introspection-revised.diff
File patch-pango-1.28.1-introspection-revised.diff, 3.0 KB (added by dbevans (David B. Evans), 14 years ago) |
---|
-
Portfile
7 7 8 8 name pango 9 9 conflicts pango-devel 10 epoch 1 11 version 1.24.5 10 version 1.28.1 12 11 set branch [join [lrange [split ${version} .] 0 1] .] 13 12 categories x11 14 13 maintainers ryandesign 15 14 license LGPLv2 16 15 homepage http://www.pango.org/ 17 master_sites gnome:sources/ pango/${branch}16 master_sites gnome:sources/${name}/${branch} 18 17 platforms darwin 18 distname ${name}-${version} 19 dist_subdir ${name} 19 20 use_bzip2 yes 20 21 use_parallel_build yes 21 22 … … 27 28 open-source framework for the layout and rendering \ 28 29 of internationalized text. 29 30 30 checksums \ 31 md5 815416a452e9cccc172fed9862401f37 \ 32 sha1 a5aa40b78546a7ee59f21804b172e5d47ef776ad \ 33 rmd160 7e436752734c55950ad5feced7c7d5c3f040a1b4 31 checksums md5 bab5b4eb3fde6b0a5bfe98d25e668741 \ 32 sha1 2d5907f0ff108cb9c27f69d8e4de564ff3d30221 \ 33 rmd160 04531a54148a22dfcf7f3060501a0126f701ee18 34 34 35 35 depends_build \ 36 36 port:pkgconfig … … 45 45 lib/libcairo.dylib 46 46 47 47 patchfiles \ 48 patch-which.diff \ 49 patch-ltmain.sh.diff \ 50 patch-configure.diff 48 patch-ltmain.sh.diff 51 49 52 50 configure.ccache no 53 51 … … 58 56 # itself differently depending on whether or not cairo is installed with 59 57 # the quartz variant. Therefore this variant is necessary to be able to 60 58 # distinguish whether an installed pango has quartz support or not. 59 60 # pango 1.25.1 and up uses Core Text which is only available on 10.5+. 61 pre-extract { 62 if {${os.major} < 9} { 63 ui_error "${name} ${version} +quartz requires Mac OS X 10.5 or greater." 64 ui_error "Either don't use the +quartz variant or upgrade your Mac OS X." 65 ui_error "Concerns about this should be addressed to the Pango mailing list:" 66 ui_error "http://mail.gnome.org/mailman/listinfo/gtk-i18n-list" 67 return -code error "incompatible Mac OS X version" 68 } 69 } 61 70 } 62 71 } 63 72 … … 103 112 } 104 113 } 105 114 106 lappend merger_configure_ args(ppc64) have_atsui=false107 lappend merger_configure_ args(x86_64) have_atsui=false115 lappend merger_configure_env(ppc64) ac_cv_header_Carbon_Carbon_h=no 116 lappend merger_configure_env(x86_64) ac_cv_header_Carbon_Carbon_h=no 108 117 109 118 configure.cppflags-append \ 110 119 -no-cpp-precomp … … 115 124 116 125 configure.args \ 117 126 --enable-static \ 127 --disable-introspection \ 118 128 --x-include=${prefix}/include --x-lib=${prefix}/lib 119 129 120 if {![variant_isset universal] && $build_arch == "x86_64" || $build_arch == "ppc64"} {121 configure.args-append have_atsui=false122 }123 124 130 variant no_x11 { 125 131 depends_lib-delete \ 126 132 port:Xft2