diff --git a/lang/mozjs60/Portfile b/lang/mozjs60/Portfile
index 9f1fa79bcd0..433f679ec59 100644
a
|
b
|
configure.cmd ../configure |
64 | 64 | configure.args --with-system-nspr \ |
65 | 65 | --disable-readline |
66 | 66 | |
| 67 | configure.universal_args-delete --disable-dependency-tracking |
| 68 | |
67 | 69 | if { ${os.platform} eq "darwin" && ${os.major} < 13 } { |
68 | 70 | configure.args-append --disable-xcode-checks |
69 | 71 | } |
… |
… |
destroot.dir ${worksrcpath}/js/src/obj |
75 | 77 | post-destroot { |
76 | 78 | # make static lib name version specific to avoid conflict with other mozjs versions |
77 | 79 | move ${destroot}${prefix}/lib/libjs_static.ajs ${destroot}${prefix}/lib/libjs60_static.ajs |
78 | | # mozjs60 builds and links with libmozglue.dylib but fails to install it |
79 | | xinstall -m 0755 ${worksrcpath}/js/src/obj/mozglue/build/libmozglue.dylib ${destroot}${prefix}/lib |
| 80 | } |
| 81 | if {[variant_isset universal]} { |
| 82 | merger-post-destroot { |
| 83 | foreach arch ${universal_archs_to_use} { |
| 84 | set dir ${destroot}-${arch} |
| 85 | # mozjs60 builds and links with libmozglue.dylib but fails to install it |
| 86 | xinstall -m 0755 ${worksrcpath}-${arch}/js/src/obj/mozglue/build/libmozglue.dylib ${dir}${prefix}/lib |
| 87 | } |
| 88 | } |
| 89 | } else { |
| 90 | post-destroot { |
| 91 | # mozjs60 builds and links with libmozglue.dylib but fails to install it |
| 92 | xinstall -m 0755 ${worksrcpath}/js/src/obj/mozglue/build/libmozglue.dylib ${destroot}${prefix}/lib |
| 93 | } |
80 | 94 | } |
81 | 95 | |
82 | 96 | if {[variant_isset universal]} { |
83 | 97 | set merger_host(x86_64) x86_64-apple-${os.platform}${os.major} |
84 | 98 | set merger_host(i386) i686-apple-${os.platform}${os.major} |
85 | | set merger_configure_args(x86_64) "--build=x86_64-apple-${os.platform}${os.major} --target=x86_64-apple-${os.platform}${os.major}" |
86 | | set merger_configure_args(i386) "--build=i686-apple-${os.platform}${os.major} --target=i686-apple-${os.platform}${os.major}" |
| 99 | set merger_configure_args(x86_64) "--host=x86_64-apple-${os.platform}${os.major} --target=x86_64-apple-${os.platform}${os.major}" |
| 100 | set merger_configure_args(i386) "--host=i686-apple-${os.platform}${os.major} --target=i686-apple-${os.platform}${os.major}" |
87 | 101 | } else { |
88 | 102 | if {${build_arch} eq "i386"} { |
89 | 103 | configure.args-append \ |