Ticket #31562: Portfile.2.diff
File Portfile.2.diff, 1.9 KB (added by raphael-st (Raphael Straub), 13 years ago) |
---|
-
Portfile
old new 5 5 PortGroup cmake 1.0 6 6 7 7 name cgal 8 version 3. 88 version 3.9 9 9 license LGPL-2.1 QPL Commercial 10 10 categories gis science 11 11 maintainers vince … … 24 24 homepage http://www.cgal.org/ 25 25 26 26 fetch.ignore_sslcert yes 27 master_sites https://gforge.inria.fr/frs/download.php/2 8500/27 master_sites https://gforge.inria.fr/frs/download.php/29125/ 28 28 29 29 distname CGAL-${version} 30 checksums md5 b8a79e62e4d8ba8b649d815aebbd1c0a \ 31 sha1 23748df1e60d62da166d2e395732ae2fe274317d \ 32 rmd160 5e5e1323ae453d928e85b4f6a7647f9d6d2973d0 30 checksums rmd160 0a5a929ecedeeac3833ec90f802b7f5ac069ad47 \ 31 sha256 241194ad9487d62d1287f863eab3adbbfd0836e2bebcd50c9fc21d473f947ba4 33 32 34 33 depends_lib-append port:boost \ 35 34 port:mpfr \ 36 35 port:zlib \ 37 36 port:gmp 38 37 38 configure.args-append -DCGAL_INSTALL_CMAKE_DIR="${prefix}/lib/cmake" 39 40 # CGAL needs gcc-4.2, see <http://www.cgal.org/FAQ.html#mac_optimization_bug> 41 if {${configure.compiler} == "gcc-4.0"} { 42 configure.compiler gcc-4.2 43 if {![file executable ${configure.cc}]} { 44 depends_build-append port:apple-gcc42 45 configure.compiler apple-gcc-4.2 46 } 47 } 48 49 39 50 variant demos description {Create demos} { 40 51 PortGroup qt4 1.0 41 52 … … 44 55 45 56 patchfiles patch-CMakeLists.txt.diff 46 57 58 # the demos do not compile with llvm-gcc-4.2 and clang 59 if {${configure.compiler} == "llvm-gcc-4.2" || 60 ${configure.compiler} == "clang"} { 61 configure.compiler gcc-4.2 62 if {![file executable ${configure.cc}]} { 63 depends_build-append port:apple-gcc42 64 configure.compiler apple-gcc-4.2 65 } 66 } 47 67 configure.args-append -DWITH_examples=TRUE 48 68 configure.args-append -DWITH_demos=TRUE 49 69