Changeset 140232


Ignore:
Timestamp:
Sep 13, 2015, 10:45:12 AM (2 years ago)
Author:
jeremyhu@…
Message:

ncurses: Fix build failure on older systems using libc++

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/ncurses/Portfile

    r139469 r140232  
    4040                --disable-mixed-case
    4141
     42# Prevent -lstdc++ from creeping into the build when not needed
     43if {[string match *clang* ${configure.cxx}]} {
     44    configure.env-append \
     45        CXXLIBS=-stdlib=${configure.cxx_stdlib} \
     46        cf_cv_libstdcpp=no
     47}
     48
    4249if {[variant_isset universal]} {
    4350    # check that this doesn't start breaking anything with new versions
Note: See TracChangeset for help on using the changeset viewer.