Ticket #52002: change-lilypond-libcxx.diff

File change-lilypond-libcxx.diff, 800 bytes (added by kenneth.f.cunningham@…, 8 years ago)

Portfile fix to add libc++ reference (diff)

  • Portfile

    old new  
    9393configure.args-append  --with-ncsb-dir=${prefix}/share/fonts/urw-fonts \
    9494    --disable-documentation
    9595
     96# add link to libc++ for Older Darwin Systems with libc++ installed and active
     97# this refers to all systems Mountain Lion or older with cxx_stdlib=libc++
     98platform darwin {
     99        set check.os.major 13
     100        if {${check.os.major} > ${os.major}} {
     101                if {${configure.cxx_stdlib} eq "libc++"} {
     102                        configure.ldflags-append    "-lc++"
     103           }
     104        }
     105}
     106
     107
     108
    96109configure.env       LTDL_LIBRARY_PATH=${prefix}/lib \
    97110    PYTHON_CONFIG=${configure.python}-config \
    98111    GUILE=${prefix}/bin/guile18 \