Changeset 125807 for trunk/dports/pure


Ignore:
Timestamp:
Sep 26, 2014, 9:03:27 PM (5 years ago)
Author:
ryandesign@…
Message:

pure-stllib: add tr1 support for systems with libstdc++ and blacklist compilers that don't do C++11

Location:
trunk/dports/pure/pure-stllib
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/pure/pure-stllib/Portfile

    r125801 r125807  
    2020depends_build-append    port:pkgconfig
    2121
     22patchfiles-append       patch-Makefiles.diff
     23patchfiles-append       patch-tr1-support.diff
     24
     25# Requires C++11.
     26compiler.blacklist-append gcc-* *llvm-gcc*
     27
    2228# These are set in the Makefile but the pure portgroup overrides them.
    2329configure.cxxflags-append -g -std=c++0x -Wall
    2430
     31# No auto-detection of TR1 support yet.
     32# https://bitbucket.org/purelang/pure-lang/issue/29/pure-stldict-08-fails-to-build-on-os-x-108
     33if {${configure.cxx_stdlib} eq "libstdc++"} {
     34    configure.cxxflags-append -DHAVE_TR1
     35}
     36
    2537test.run                yes
    2638test.target             check
Note: See TracChangeset for help on using the changeset viewer.