Ticket #65670: patch-portfile.diff
File patch-portfile.diff, 1.1 KB (added by mbrethen, 2 years ago) |
---|
-
(a) Portfile-orig vs. (b) Portfile
a b 60 60 } else { 61 61 livecheck.type none 62 62 63 revision 063 revision 1 64 64 supported_archs arm64 i386 ppc x86_64 65 65 distname ${my_name}-${my_version} 66 66 … … 170 170 lappend my_variation_dirs [strsed ${my_variation_dir} {g/ /\\\\ /}] 171 171 172 172 # Use the right compiler. 173 reinplace "s| gcc|${configure.cc}|g" ${build.dir}/${my_variation_dir}/Makefile173 reinplace "s|clang|${configure.cc}|g" ${build.dir}/${my_variation_dir}/Makefile 174 174 175 175 # Use the right deployment target. 176 reinplace -E {s|- mmacosx-version-min=[0-9.]+||g} ${build.dir}/${my_variation_dir}/Makefile176 reinplace -E {s|-target x86_64-apple-macos[0-9.]+|-arch x86_64|g} ${build.dir}/${my_variation_dir}/Makefile 177 177 178 178 # Use the right SDK. 179 179 if {${configure.sdkroot} eq {}} {