Ticket #42014: mozjs17-Portfile.diff
File mozjs17-Portfile.diff, 953 bytes (added by juanrgar (Juan R. García Blanco), 11 years ago) |
---|
-
Portfile
old new 6 6 7 7 name mozjs17 8 8 version 17.0.0 9 revision 29 revision 3 10 10 categories lang 11 11 platforms darwin 12 12 license MPL-2.0 13 maintainers gmail. org:juanrgar \13 maintainers gmail.com:juanrgar \ 14 14 openmaintainer 15 15 description JavaScript-C Engine 16 16 long_description SpiderMonkey is Mozilla's JavaScript engine written in C/C++. \ … … 59 59 configure.args-append --enable-profiling 60 60 } 61 61 62 # Use absolute path forinstall_name63 post- patch{64 reinplace "s|@executable_path|${prefix}/lib|g" ${worksrcpath}/config/rules.mk62 # Tune install_name 63 post-destroot { 64 system "install_name_tool -id ${prefix}/lib/libmozjs-17.0.dylib ${destroot}/${prefix}/lib/libmozjs-17.0.dylib" 65 65 } 66 66 67 67 if {[variant_isset universal]} {