Ticket #17049: pango_no_atsui.diff

File pango_no_atsui.diff, 1.2 KB (added by pguyot (Paul Guyot), 16 years ago)
  • files/patch-configure.diff

     
     1--- configure.orig      2008-10-30 09:32:41.000000000 +0100
     2+++ configure   2008-10-30 09:32:12.000000000 +0100
     3@@ -22915,7 +22915,7 @@
     4 
     5 fi
     6 if test $ac_cv_header_Carbon_Carbon_h = yes; then
     7-  have_atsui=true
     8+  have_atsui=false
     9 else
     10   have_atsui=false
     11 fi
  • Portfile

     
    44
    55name                    pango
    66version                 1.22.0
     7revision                1
    78set branch              [join [lrange [split ${version} .] 0 1] .]
    89categories              x11
    910maintainers             ryandesign
     
    7778        --without-x
    7879}
    7980
     81variant no_atsui description "Disable atsui support (required for 64 bits universal builds)" {
     82    patchfiles-append \
     83        patch-configure.diff
     84}
     85
     86if {[variant_isset universal] && [lsearch -regexp ${universal_archs} ppc64|x86_64]} {
     87    variant_set no_atsui
     88}
     89
    8090post-destroot {
    8191    if {[variant_isset no_x11]} {
    8292        xinstall -d ${destroot}${prefix}/etc/pango