Commits
reneeotten authored and Perry E. Metzger committed 25c1a3bdc71
22 22 | |
23 23 | python.versions 27 34 35 36 |
24 24 | |
25 25 | checksums rmd160 756e3692f1ae14ab2545f194c4db8a17855c9075 \ |
26 26 | sha256 511f382a0e4b5c0befdfbf33e75c4730bcc62402ad19c6a845e8c08e326439da \ |
27 27 | size 13104435 |
28 28 | |
29 29 | if {${name} ne ${subport}} { |
30 30 | depends_lib-append port:py${python.version}-numpy |
31 31 | compilers.enforce_fortran port:py${python.version}-numpy |
32 + | compilers.enforce_c port:py${python.version}-numpy |
32 33 | |
33 - | compilers.choose fc f77 f90 |
34 - | compilers.setup require_fortran |
34 + | # keep compilers.setup the same as in the py-numpy port |
35 + | compilers.setup require_fortran -clang -gcc44 -gcc45 \ |
36 + | -gcc46 -gcc47 -gcc48 -g95 clang37 |
35 37 | |
36 38 | if {[gcc_variant_isset]} { |
37 39 | build.cmd "${build.cmd} config_fc --fcompiler gfortran" |
38 40 | } elseif {[variant_isset g95]} { |
39 41 | build.cmd "${build.cmd} config_fc --fcompiler g95" |
40 42 | } |
41 43 | |
42 44 | # Insert my own archflags, so I can edit LDFLAGS |
43 45 | python.add_archflags no |
44 46 | |