Ticket #48957: ncurses.diff

File ncurses.diff, 824 bytes (added by RJVB (René Bertin), 9 years ago)
  • Portfile

     
    3636                --without-ada \
    3737                --with-manpage-format=normal \
    3838                --enable-pc-files \
    39                 --with-pkg-config-libdir="${prefix}/lib/pkgconfig" \
     39                --with-pkg-config-libdir="${prefix}/lib/pkgconfig"
     40if {${os.platform} eq "darwin"} {
     41    configure.args-append \
    4042                --disable-mixed-case
     43}
    4144
    4245# Prevent -lstdc++ from creeping into the build when not needed
    43 if {[string match *clang* ${configure.cxx}]} {
     46if {${os.platform} eq "darwin" && [string match *clang* ${configure.cxx}]} {
    4447    configure.env-append \
    4548        CXXLIBS=-stdlib=${configure.cxx_stdlib} \
    4649        cf_cv_libstdcpp=no