Ticket #18187: patch-ncurses.diff

File patch-ncurses.diff, 1.0 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 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            ncurses
    67version         5.7
     
    3435                --enable-safe-sprintf \
    3536                --enable-sigwinch \
    3637                --without-progs \
    37                 --mandir=${prefix}/share/delete-me
     38                --mandir=${prefix}/share/delete-me \
     39                --with-manpage-format=normal
    3840
    3941post-destroot {
    4042    # terminfo & manpages also do come with ncursesw
     
    4648    destroot.env-append     LD_LIBRARY_PATH=${prefix}/lib
    4749}
    4850
     51# configure script expects to be able to run binaries
     52if { ${os.arch}=="i386" } {
     53    # with only three architectues, the merge does not work
     54    if { [llength ${universal_archs}] > 2 } {
     55        set universal_archs_supported  "i386 x86_64"
     56    }
     57} else {
     58    set universal_archs_supported  "ppc ppc64"
     59}
     60
    4961use_parallel_build      yes