Ticket #17042: glib2-LP64.diff

File glib2-LP64.diff, 808 bytes (added by jmroot (Joshua Root), 15 years ago)
  • Portfile

     
    6565    reinplace "s|path = \"/bin|path = \"${prefix}/bin:/bin|g" ${worksrcpath}/glib/gutils.c ${worksrcpath}/glib/gspawn.c
    6666}
    6767
     68post-configure {
     69    if {[variant_isset universal] && [lsearch -glob ${universal_archs} *64] != -1} {
     70        system "cd ${worksrcpath} && patch -p0 < ${filespath}/patch-config.h.diff"
     71        system "cd ${worksrcpath} && patch -p0 < ${filespath}/patch-glibconfig.h.diff"
     72        system "cd ${worksrcpath} && touch stamp-h1 stamp-gc-h"
     73    }
     74}
     75
    6876platform darwin {
    6977    patchfiles-append \
    70         patch-child-test.c.diff \
    71         patch-configure.diff
     78        patch-child-test.c.diff
    7279}
    7380
    7481platform powerpc {