Commits
Christopher Chavez authored and Frank Schima committed a2b2e1a66dd
49 49 | --opus=no \ |
50 50 | --samplerate=yes \ |
51 51 | --sndfile=yes \ |
52 52 | --readline=no |
53 53 | |
54 54 | platform darwin { |
55 55 | if {[string match *clang* ${configure.compiler}]} { |
56 56 | configure.ldflags-append -stdlib=${configure.cxx_stdlib} |
57 57 | } |
58 58 | } |
59 - | |
60 - | # deactivate hack added 2018-04-06 |
61 - | pre-configure { |
62 - | # When upgrading from jack1 to jack2, the build can fail outside of trace |
63 - | # mode because waf puts the CPPFLAGS at the beginning of the compiler |
64 - | # command line. This was fixed in waf 1.9.0, but jack2 ships waf 1.8.17. |
65 - | # |
66 - | # Instead of using the conflicts-build portgroup, use a deactivate hack to |
67 - | # force-deactive the old version before building, which should solve the |
68 - | # issue. |
69 - | if {![catch {set installed [lindex [registry_active jack] 0]}]} { |
70 - | elevateToRoot "deactivate jack1" |
71 - | set _version [lindex $installed 1] |
72 - | if {[vercmp $_version 1.9.12] < 0} { |
73 - | # 1.9.12 is the first version of jack2 packaged in MacPorts |
74 - | registry_deactivate_composite jack "" [list ports_nodepcheck 1] |
75 - | } |
76 - | dropPrivileges |
77 - | } |
78 - | } |