Commits
Marcus Calhoun-Lopez authored and David B. Evans committed fd3bb0e3f60
37 37 | |
38 38 | post-patch { |
39 39 | reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/dispatch_common.c |
40 40 | } |
41 41 | |
42 42 | configure.cmd ./autogen.sh |
43 43 | |
44 44 | configure.args --disable-silent-rules \ |
45 45 | --enable-glx |
46 46 | |
47 - | variant python27 conflicts python36 description {build with python 2.7} { |
47 + | variant python27 conflicts python36 python37 description {build with python 2.7} { |
48 48 | depends_build-append port:python27 |
49 49 | configure.python ${prefix}/bin/python2.7 |
50 50 | } |
51 - | variant python36 conflicts python27 description {build with python 3.6} { |
51 + | variant python36 conflicts python27 python37 description {build with python 3.6} { |
52 52 | depends_build-append port:python36 |
53 53 | configure.python ${prefix}/bin/python3.6 |
54 54 | } |
55 + | variant python37 conflicts python27 python36 description {build with python 3.7} { |
56 + | depends_build-append port:python37 |
57 + | configure.python ${prefix}/bin/python3.7 |
58 + | } |
55 59 | |
56 - | if {![variant_isset python27]} { |
60 + | if {![variant_isset python27] && ![variant_isset python37]} { |
57 61 | default_variants-append +python36 |
58 62 | } |