Ticket #54289: lcxx.diff

File lcxx.diff, 1.7 KB (added by RJVB (René Bertin), 7 years ago)
  • lang/libcxx/Portfile

    old new  
    22PortGroup               compiler_blacklist_versions 1.0
    33
    44name                    libcxx
    5 version                 3.9.1
     5version                 4.0.0
    66epoch                   1
    77categories              lang
    88platforms               darwin
     
    2426use_xz                  yes
    2527distname                ${name}-${version}.src
    2628
    27 checksums               rmd160  43bcf879f60763425f5d296f4fa5ac0b9a0779f6 \
    28                         sha256  25e615e428f60e651ed09ffd79e563864e3f4bc69a9e93ee41505c419d1a7461
     29checksums               rmd160  b1a870353076c9af77c16f182d5d6a987a0e3030 \
     30                        sha256  4f4d33c4ad69bf9e360eebe6b29b7b19486948b1a41decf89d4adec12473cf96
    2931
    3032variant universal {}
    3133default_variants +universal
     
    7683        3002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch \
    7784        3003-Fix-local-and-iterator-when-building-with-Lion-and-n.patch \
    7885        3004-Fix-missing-long-long-math-prototypes-when-using-the.patch \
    79         3005-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch
     86        3005-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch \
     87        patch-respect-optflags.diff
    8088
    8189    build.dir ${worksrcpath}/lib
    8290    build.cmd ./buildit
     
    8694        RC_XBS=1 \
    8795        RC_ProjectSourceVersion="${version}" \
    8896        RC_CFLAGS="[get_canonical_archflags]" \
     97        CXXFLAGS="${configure.optflags}" \
    8998        TRIPLE="-apple-darwin${os.major}"
    9099
    91100    # We want to use the host's libc++ everywhere because we want to ensure