Commits

Craig Treleaven authored 4c41cdcd9e2
multimarkdown: requires C11 compiler
No tags

textproc/multimarkdown/Portfile

Modified
1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2 2
3 3 PortSystem 1.0
4 4 PortGroup cmake 1.1
5 +PortGroup compiler_blacklist_versions 1.0
5 6 PortGroup github 1.0
6 7
7 8 github.setup fletcher MultiMarkdown-6 6.3.2
8 9 name multimarkdown
9 10 categories textproc
10 11 license MIT
11 12 maintainers nomaintainer
12 13
13 14 description turn minimally marked-up plain text into well \
14 15 formatted documents
26 27
27 28 homepage http://fletcherpenney.net/multimarkdown/
28 29 platforms darwin
29 30
30 31 checksums rmd160 afe688fe78a7d692de8fc8b8082a55c42fa48c4d \
31 32 sha256 39ed22302a99a41059ffd8fae9bd971ece848d3b733941ce21b1e17577a4451e \
32 33 size 3144821
33 34
34 35 depends_lib-append port:curl
35 36
37 +# blacklist compilers that do not support C11
38 +compiler.blacklist *gcc-3.* *gcc-4.* {clang < 300}
39 +
36 40 configure.args-append \
37 41 -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF \
38 42 -DSHAREDBUILD=1
39 43
40 44 configure.ldflags-append \
41 45 -lcurl
42 46
43 47 post-patch {
44 48 reinplace -W ${worksrcpath} "s,Clang,AppleClang,g" CMakeLists.txt
45 49 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut