Changeset 79657
- Timestamp:
- 06/22/11 12:15:37 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/math/eigen3/Portfile (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/math/eigen3/Portfile
r79450 r79657 6 6 name eigen3 7 7 version 3.0.1 8 revision 1 8 9 license {{GPL-2+} {LGPL-3+}} 9 10 categories math science … … 27 28 28 29 # Variants 29 variant gcc44 description { Use MacPort 'sgcc44 compilers } conflicts gcc45 {30 variant gcc44 description { Use MacPorts' gcc44 compilers } conflicts gcc45 { 30 31 configure.compiler macports-gcc-4.4 31 32 } 32 33 33 variant gcc45 description { Use MacPort 'sgcc45 compilers } conflicts gcc44 {34 variant gcc45 description { Use MacPorts' gcc45 compilers } conflicts gcc44 { 34 35 configure.compiler macports-gcc-4.5 35 36 } 36 37 37 variant doc description { Place local documentation into <prefix>/share/doc/eigen3/html } requires configured{38 variant doc description { Place local documentation into <prefix>/share/doc/eigen3/html } conflicts no_cmake { 38 39 depends_build-append port:doxygen port:texlive-latex 39 40 build.target-append doc 40 41 } 41 42 42 variant blas description { Build eigen-based blas (libeigen_blas*) } requires configured{43 variant blas description { Build eigen-based blas (libeigen_blas*) } conflicts no_cmake { 43 44 if {![variant_isset gcc44] && ![variant_isset gcc45]} { 44 45 ui_error "eigen3 +blas needs either +gcc44 or +gcc45 enabled!" … … 49 50 } 50 51 51 variant configured description { Enable configure steps. (Enables 'port test' target.)} {52 variant no_cmake description { Header-only install: Removes CMake dependency, breaks FindEigen3.cmake } { 52 53 } 53 54 … … 90 91 91 92 92 # Are we doing a header-only or c onfigured(for 'port test' or +doc/+blas) build?93 if { ![variant_isset configured]} {93 # Are we doing a header-only or cmake (for 'port test' or +doc/+blas) build? 94 if {[variant_isset no_cmake]} { 94 95 # We can skip everything and just copy the headers -- fast! 95 96 use_configure no … … 105 106 test.run yes 106 107 test { 107 ui_error "!!! TESTING IS UNSUPPORTED WITH OUT +configuredVARIANT !!!"108 ui_error "!!! TESTING IS UNSUPPORTED WITH +no_cmake VARIANT !!!" 108 109 } 109 110 } else {
Note: See TracChangeset
for help on using the changeset viewer.

