Commits
Chris Jones authored e75fa378a2a
35 35 | set py_ver_no_dot [join [split ${py_ver} "."] ""] |
36 36 | |
37 37 | depends_build-append port:pkgconfig \ |
38 38 | port:python${py_ver_no_dot} |
39 39 | |
40 40 | depends_lib-append port:libxml2 \ |
41 41 | path:lib/libssl.dylib:openssl |
42 42 | |
43 43 | configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python${py_ver} |
44 44 | |
45 + | # gtest conflict. Disable tests for now |
46 + | # https://trac.macports.org/ticket/58955 |
47 + | configure.args-append -DDAVIX_TESTS=FALSE |
48 + | |
45 49 | pre-configure { |
46 50 | # Force use of macports python in build scripts |
47 51 | # Find command finds text files containing the string to be replaced. |
48 52 | set pystringtoreplace "/usr/bin/env python2" |
49 53 | foreach f [ exec find ${worksrcpath} -type f -and -name "*.py" ] { |
50 54 | reinplace -q "s|${pystringtoreplace}|${prefix}/bin/python${py_ver}|g" $f |
51 55 | } |
52 56 | } |