Ticket #18187: patch-ncursesw.diff

File patch-ncursesw.diff, 815 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 15 years ago)
  • Portfile

    old new  
    11# $Id: Portfile 42173 2008-11-16 16:53:43Z nox@macports.org $
    22
    33PortSystem              1.0
     4PortGroup               muniversal 1.0
    45
    56name                    ncursesw
    67version                 5.7
     
    3334                                --without-ada \
    3435                                --enable-safe-sprintf \
    3536                                --enable-sigwinch \
    36                                 --mandir=${prefix}/share/man
     37                                --mandir=${prefix}/share/man \
     38                                --with-manpage-format=normal
     39
     40# configure script expects to be able to run binaries
     41if { ${os.arch}=="i386" } {
     42    # with only three architectues, the merge does not work
     43    if { [llength ${universal_archs}] > 2 } {
     44        set universal_archs_supported  "i386 x86_64"
     45    }
     46} else {
     47    set universal_archs_supported  "ppc ppc64"
     48}
    3749
    3850use_parallel_build      yes