Ticket #20372: glib2.patch

File glib2.patch, 935 bytes (added by mtalexander (Mike Alexander), 15 years ago)

Patch to the glib2 Portfile to fix this problem

  • Portfile

     
    5959configure.args \
    6060    --enable-static
    6161
     62configure.archflags             ""
     63
    6264configure.perl          ${prefix}/bin/perl
    6365configure.env-append    PERL_PATH=${configure.perl}
    6466
     
    103105        # Find architectures which will not run on build platform.
    104106        if { ${os.arch}=="i386" || ${os.arch}=="x86_64"} {
    105107            set cross_archs "ppc ppc64"
     108            set host_archs  "i386 x86_64"
     109            set big_endian  "no"
     110        } else {
     111            set cross_archs "i386 x86_64"
    106112            set host_archs  "ppc ppc64"
    107113            set big_endian  "yes"
    108         } else {
    109             set cross_archs "i386 x86_64"
    110             set host_archs  "i386 x86_64"
    111             set big_endian  "no"
    112114        }
    113115
    114116        set run_arch [lindex ${universal_archs} 0]