Ticket #37235: gis_no_gcc.diff

File gis_no_gcc.diff, 1.1 KB (added by thijsvermeir@…, 12 years ago)
  • Portfile

     
    55
    66name                gobject-introspection
    77version             1.34.1.1
     8revision            1
    89set branch          [join [lrange [split ${version} .] 0 1] .]
    910categories          gnome
    1011platforms           darwin
     
    1415description         GObject Introspection
    1516
    1617long_description    Gobject Introspection acts as a bridge between low-level C+GObject code and \
    17                     a managed runtime (JavaScript, Python, Java, Lua, .NET, Scheme, etc.). 
     18                    a managed runtime (JavaScript, Python, Java, Lua, .NET, Scheme, etc.).
    1819
    1920homepage            http://live.gnome.org/GObjectIntrospection
    2021master_sites        gnome:sources/${name}/${branch}/
     
    3637
    3738post-patch {
    3839    reinplace "s|'cc'|'${configure.cc}'|g" ${worksrcpath}/giscanner/sourcescanner.py
     40    reinplace "s|'gcc'|'${configure.cc}'|g" ${worksrcpath}/giscanner/dumper.py
    3941    reinplace "s|libcairo-gobject.2.dylib|${prefix}/lib/libcairo-gobject.2.dylib|g" ${worksrcpath}/configure
    4042}
    4143