Commits
Chih-Hsuan Yen authored and Perry E. Metzger committed a62747f75f4
113 113 | if { $use_signed_kext } { |
114 114 | system -W ${workpath} "tar -xvf ${distpath}/${mp.comp}-${mp.rev}.tar.gz" |
115 115 | } |
116 116 | if {${mp.comp} ne "osxfuse"} { |
117 117 | # Replace existing empty directory if it exists |
118 118 | file delete ${workpath}/${worksrcdir}/${mp.comp} |
119 119 | move ${workpath}/osxfuse-${mp.comp}-${mp.rev} ${workpath}/${worksrcdir}/${mp.comp} |
120 120 | } |
121 121 | } |
122 122 | |
123 - | if {${os.major} == 17} { |
123 + | if {${os.major} == 17 && [catch {system "/usr/bin/gen_bridge_metadata --version > /dev/null 2>&1"}]} { |
124 124 | ui_msg "If building this port fails, consider applying the following workaround:" |
125 125 | ui_msg "" |
126 126 | ui_msg " cd \$(xcode-select -p)/Toolchains" |
127 127 | ui_msg " sudo ln -s XcodeDefault.xctoolchain OSX10.13.xctoolchain" |
128 128 | ui_msg "" |
129 129 | ui_msg "See https://trac.macports.org/ticket/54939 for more information." |
130 130 | } |
131 131 | } |
132 132 | |
133 133 | if { ! $use_signed_kext } { |