Ticket #49714: Portfile.diff
File Portfile.diff, 2.7 KB (added by florian@…, 9 years ago) |
---|
-
dports/science/gmt5/Portfile
5 5 PortGroup cmake 1.0 6 6 7 7 name gmt5 8 version 5.1.2 9 revision 1 8 version 5.2.1 10 9 categories science 11 10 platforms darwin 12 11 maintainers eprofs.de:florian \ … … 28 27 ftp://gd.tuwien.ac.at/pub/gmt \ 29 28 ftp://ftp.scc.u-tokai.ac.jp/pub/gmt \ 30 29 ftp://gmt.mirror.ac.za/pub/gmt 31 use_ bzip2yes30 use_xz yes 32 31 distname gmt-${version} 33 32 distfiles ${distname}-src${extract.suffix} 34 checksums rmd160 85a12fed90b1019333e7530b62e147def30752a5\35 sha256 59d0cca9dda5301110e47b18a401f35584e37c409e482b2bdac14f847e570da933 checksums rmd160 f6ae3a2c0e5e0d6d56bfee38de005fb12a032bf1 \ 34 sha256 01c199525bdfa78ad388959e739f34eca8effb8d82475c8786a066e04b5e19af 36 35 37 36 depends_lib port:dcw-gmt \ 38 37 port:ghostscript \ … … 50 49 if {[variant_isset debug]} { 51 50 configure.optflags -O0 52 51 } else { 53 configure.optflags -O3 52 # optflags deliberately unset: 53 configure.optflags 54 # Set CMAKE_BUILD_TYPE=RelWithDebInfo to get reliable backtraces: 55 configure.args-delete -DCMAKE_BUILD_TYPE=Release 56 configure.args-append -DCMAKE_BUILD_TYPE=RelWithDebInfo 54 57 } 55 58 56 59 configure.cflags-append -fstrict-aliasing … … 60 63 -DFFTW3_ROOT=off \ 61 64 -DGDAL_ROOT=off \ 62 65 -DPCRE_ROOT=off \ 66 -DGMT_OPENMP=off \ 63 67 -DGMT_INSTALL_MODULE_LINKS=off \ 64 68 -DGMT_INSTALL_TRADITIONAL_FOLDERNAMES=off \ 65 69 -DLICENSE_RESTRICTED=GPL … … 82 86 configure.args-append -DPCRE_ROOT=${prefix} 83 87 } 84 88 89 variant openmp description {Enable experimental OpenMP parallel acceleration} { 90 configure.args-delete -DGMT_OPENMP=off 91 configure.args-append -DGMT_OPENMP=on 92 93 # FIXME: llvm-gcc42 is broken, https://trac.macports.org/ticket/40713 94 # Only clang really needs to be blacklisted 95 compiler.blacklist *gcc-4.2 *clang* 96 compiler.fallback macports-gcc-5 macports-gcc-4.9 macports-gcc-4.8 macports-gcc-4.7 macports-gcc-4.6 macports-gcc-4.5 macports-gcc-4.4 macports-gcc-4.3 97 98 # Needed for compiling with GCC and Accelerate Framework on OSX: 99 configure.cflags-append -flax-vector-conversions 100 } 101 85 102 variant lgpl conflicts nonfree description {disallow use of GPL code, license will be LGPL} { 86 103 license-delete GPL-3 87 104 license-append LGPL-3