Ticket #20909: ncid.diff

File ncid.diff, 521 bytes (added by meissnem@…, 15 years ago)
  • Portfile

     
    5959        ${worksrcpath}/man/yac2ncid.1
    6060}
    6161
     62# sip2ncid is not 64-bit clean
     63pre-build {
     64    if {[info exists build_arch]} {
     65        if {$build_arch == "x86_64"} {
     66            set build_arch  "i386"
     67        } elseif {$build_arch == "ppc64"} {
     68            set build_arch  "ppc"
     69        }
     70        build.post_args-append  MFLAGS="-arch ${build_arch}"
     71    }
     72}
     73
    6274build.env \
    6375    CC=${configure.cc}