Ticket #33877: pango-devel-enable-introspection.patch

File pango-devel-enable-introspection.patch, 1.2 KB (added by neverpanic (Clemens Lang), 12 years ago)

Patch against the pango-devel Portfile enabling introspection

  • Portfile

     
    88conflicts               pango
    99set my_name             pango
    1010version                 1.29.5
     11revision                1
    1112set branch              [join [lrange [split ${version} .] 0 1] .]
    1213categories              x11
    1314maintainers             ryandesign openmaintainer
    (this hunk was shorter than expected) 
    3637
    3738depends_lib \
    3839    path:lib/pkgconfig/glib-2.0.pc:glib2-devel \
    39     path:lib/pkgconfig/cairo.pc:cairo
     40    path:lib/pkgconfig/cairo.pc:cairo \
     41    port:gobject-introspection
    4042
    4143archcheck.files         lib/libglib-2.0.dylib \
    4244                        lib/libcairo.dylib
    4345
    4446patchfiles \
    4547    patch-ltmain.sh.diff
    4648
    4749configure.ccache        no
    4850
     
    103108
    104109configure.args \
    105110    --enable-static \
    106     --disable-introspection \
     111    --enable-introspection \
    107112    --without-x
    108113
     114# gobject-introspection uses g-ir-scanner, which uses $CC from env
     115build.env-append \
     116    CC=${configure.cc}
     117
    109118variant builtin_modules description {Build the modules into Pango statically (most users do not need this variant)} {
    110119    configure.args-append   --with-included-modules
    111120}