1 | diff --git a/devel/boost/Portfile b/devel/boost/Portfile |
---|
2 | index 2464b6773b..304246f1f0 100644 |
---|
3 | --- a/devel/boost/Portfile |
---|
4 | +++ b/devel/boost/Portfile |
---|
5 | @@ -6,7 +6,7 @@ PortGroup mpi 1.0 |
---|
6 | |
---|
7 | name boost |
---|
8 | version 1.65.1 |
---|
9 | -revision 3 |
---|
10 | +revision 4 |
---|
11 | license Boost-1 |
---|
12 | categories devel |
---|
13 | platforms darwin |
---|
14 | @@ -130,6 +130,7 @@ build.args -d2 \ |
---|
15 | --layout=tagged \ |
---|
16 | --debug-configuration \ |
---|
17 | --user-config=user-config.jam \ |
---|
18 | + --no-numpy \ |
---|
19 | -sBZIP2_INCLUDE=${prefix}/include \ |
---|
20 | -sBZIP2_LIBPATH=${prefix}/lib \ |
---|
21 | -sEXPAT_INCLUDE=${prefix}/include \ |
---|
22 | @@ -255,6 +256,15 @@ http://www.boost.org/doc/libs/${distver}/libs/regex/doc/html/boost_regex/ref/sub |
---|
23 | } |
---|
24 | } |
---|
25 | |
---|
26 | +variant numpy description {Enable Numpy support} { |
---|
27 | + build.args-delete --no-numpy |
---|
28 | + foreach s ${pythons_suffixes} { |
---|
29 | + if {[variant_isset python${s}]} { |
---|
30 | + depends_lib-append: port:py${s}-numpy |
---|
31 | + } |
---|
32 | + } |
---|
33 | +} |
---|
34 | + |
---|
35 | if {[mpi_variant_isset]} { |
---|
36 | |
---|
37 | # There is a conflict with debug support. |
---|