Ticket #34543: qrupdate-1.1.2.diff
File qrupdate-1.1.2.diff, 3.1 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
Portfile
5 5 PortGroup muniversal 1.0 6 6 7 7 name qrupdate 8 version 1.1. 19 set branch [join [lrange [split ${version} .] 0 1] .] 10 revision 3 8 version 1.1.2 9 # Ridiculous 10 set branch 1.2 11 11 categories math 12 12 license GPL-3+ 13 13 maintainers nomaintainer … … 18 18 platforms darwin 19 19 master_sites sourceforge:project/qrupdate/qrupdate/${branch} 20 20 21 checksums md5 7782c7ee6c234e56a72d6b86c1856fa0 \ 22 sha1 8fbaba202b0d4bf80852b2dc6c8d1d4b90b816d4 \ 23 rmd160 fd63306abe91adcd5d47e408d9cd4af3e1b32b0c 21 checksums rmd160 9d23b2d13278c335f6208ebb6775df4b4049785c \ 22 sha256 e2a1c711dc8ebc418e21195833814cb2f84b878b90a2774365f0166402308e08 24 23 25 depends_lib port:atlas26 27 24 use_configure no 28 25 build.target lib solib 29 26 30 build.args PREFIX=${prefix} BLAS="-L${prefix}/lib" LAPACK="-L${prefix}/lib -llapack"31 destroot.args PREFIX=${prefix} BLAS="-L${prefix}/lib" LAPACK="-L${prefix}/lib -llapack"32 test.args PREFIX=${prefix} BLAS="-L${prefix}/lib" LAPACK="-L${prefix}/lib -llapack"27 build.args PREFIX=${prefix} 28 destroot.args PREFIX=${prefix} 29 test.args PREFIX=${prefix} 33 30 34 31 patchfiles patch-Makefile.diff 35 32 … … 66 63 } 67 64 } 68 65 69 variant no_atlas description {build with Accelerate framework instead of atlas} { 70 depends_lib-delete port:atlas 71 build.args PREFIX=${prefix} BLAS="-framework Accelerate" LAPACK="-framework Accelerate" 72 destroot.args PREFIX=${prefix} BLAS="-framework Accelerate" LAPACK="-framework Accelerate" 73 test.args PREFIX=${prefix} BLAS="-framework Accelerate" LAPACK="-framework Accelerate" 66 67 variant no_atlas description {Legacy compatibility variant} {} 68 69 variant atlas description {build with atlas instead of Accelerate framework} { 70 depends_lib-append port:atlas 71 build.args-append BLAS="-framework Accelerate" LAPACK="-framework Accelerate" 72 destroot.args-append BLAS="-framework Accelerate" LAPACK="-framework Accelerate" 73 test.args-append BLAS="-framework Accelerate" LAPACK="-framework Accelerate" 74 74 } 75 if {![variant_isset atlas]} { 76 build.args-append BLAS="-L${prefix}/lib" LAPACK="-L${prefix}/lib -llapack" 77 destroot.args-append BLAS="-L${prefix}/lib" LAPACK="-L${prefix}/lib -llapack" 78 test.args-append BLAS="-L${prefix}/lib" LAPACK="-L${prefix}/lib -llapack" 79 } 75 80 76 variant accelerate requires no_atlas description {compatibility variant} {} 81 if {[variant_isset g95] || [variant_isset no_atlas]} { 82 default_variants -atlas 83 } else { 84 default_variants +atlas 85 } 77 86 87 78 88 variant g95 conflicts gcc43 gcc44 gcc45 universal description {build with g95} { 79 89 depends_build-append port:g95 80 90 post-patch { … … 109 119 default_variants +gcc45 110 120 } 111 121 112 if {[variant_isset g95]} {113 default_variants +no_atlas114 }115 122 116 123 test.run yes