Ticket #17983: gettext-lp64.diff

File gettext-lp64.diff, 680 bytes (added by jmroot (Joshua Root), 16 years ago)
  • Portfile

     
    4141        --with-included-glib \
    4242        --with-included-libcroco \
    4343        --with-included-libxml
     44post-configure {
     45    if {[variant_isset universal] && [lsearch -glob ${universal_archs} *64] != -1} {
     46        system "cd ${worksrcpath} && patch -p0 < ${filespath}/patch-gettext-runtime_config.h.diff"
     47        system "cd ${worksrcpath} && patch -p0 < ${filespath}/patch-gettext-tools_config.h.diff"
     48        system "cd ${worksrcpath} && touch gettext-runtime/stamp-h1 gettext-tools/stamp-h1"
     49    }
     50}
    4451
    4552depends_lib \
    4653        port:libiconv \