Changeset 99241


Ignore:
Timestamp:
Oct 30, 2012, 8:44:20 AM (12 years ago)
Author:
vince@…
Message:

Bump to 4.1, first version to officially support clang 3.1/3.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gis/cgal/Portfile

    r96188 r99241  
    66
    77name                            cgal
    8 version                         4.0.2
     8version                         4.1
    99# revision                      1
    1010license                         LGPL-3+ GPL-3+
     
    2626
    2727fetch.ignore_sslcert    yes
    28 master_sites            https://gforge.inria.fr/frs/download.php/31175/
     28master_sites        https://gforge.inria.fr/frs/download.php/31640
    2929
    3030distname                        CGAL-${version}
    31 checksums           rmd160  1d11da6d1d78ae22cc113f7378d66247cf5afae2 \
    32       sha256  f125ed9d484e1e58d351f173aad184ce7a0d13c3f79205e69d819789727cfb2a
     31checksums           rmd160  183e1842ab0d30061fc5670f762e6f70d1d003fb \
     32                    sha256  878d4c3e579d886c2de05e04e8dc2cc9ebf094c5700ca4187521ef0fb673658e
     33
     34
     35use_bzip2                       yes
    3336
    3437worksrcdir          CGAL-${version}
     
    3942                                        port:eigen3
    4043
    41 patchfiles                      patch-CGAL_SetupBoost.cmake.diff
     44#patchfiles                     patch-CGAL_SetupBoost.cmake.diff
    4245
    4346configure.args-append   -DCGAL_INSTALL_CMAKE_DIR="lib/cmake" \
    4447                        -DWITH_CGAL_Qt3:BOOL=OFF \
    45                         -DWITH_CGAL_Qt4:BOOL=OFF
     48                        -DWITH_CGAL_Qt4:BOOL=OFF \
     49                                                -DBoost_DIR:PATH=${prefix} \
     50                                                -DWITH_Eigen3:BOOL=ON \
     51                                                -DCGAL_EIGEN3_ENABLED:BOOL=ON \
     52                                                -DWITH_ZLIB:BOOL=ON
    4653
    4754# gcc 4.0 is too old to compile CGAL properly; see <http://www.cgal.org/FAQ.html#mac_optimization_bug>
    48 # CGAL does not compile with CLANG
    4955
    5056if {${configure.compiler} == "gcc-4.0"} {
     
    5460        configure.compiler apple-gcc-4.2
    5561    }
    56 } elseif {[string match "*clang*" ${configure.cc}]} {
    57         configure.compiler      llvm-gcc-4.2
    58 }
     62}
     63#elseif {[string match "*clang*" ${configure.cc}]} {
     64#       configure.compiler      llvm-gcc-4.2
     65#}
    5966
    6067variant demos description {Create demos} requires qt4 {
     
    6572        patchfiles-append               patch-CMakeLists.txt.diff
    6673
    67         configure.args-append   -DWITH_examples=TRUE
    68         configure.args-append   -DWITH_demos=TRUE
     74        configure.args-append   -DWITH_examples:BOOL=ON
     75        configure.args-append   -DWITH_demos:BOOL=ON
     76        configure.args-append   -DWITH_QGLViewer:BOOL=ON
     77        configure.args-append   -DWITH_OpenGL:BOOL=ON
    6978
    7079  # MacPorts installs IPE version 7; make sure to use it.
    71         configure.args-append   -DWITH_IPE_7=TRUE
     80        configure.args-append   -DWITH_IPE_7:BOOL=ON
    7281
    7382  # include Qt's CMake defines, just in case
Note: See TracChangeset for help on using the changeset viewer.