Ticket #42014: mozjs17-Portfile.diff

File mozjs17-Portfile.diff, 953 bytes (added by juanrgar (Juan R. García Blanco), 11 years ago)

diff with current Portfile

  • Portfile

    old new  
    66
    77name                mozjs17
    88version             17.0.0
    9 revision            2
     9revision            3
    1010categories          lang
    1111platforms           darwin
    1212license             MPL-2.0
    13 maintainers         gmail.org:juanrgar \
     13maintainers         gmail.com:juanrgar \
    1414                    openmaintainer
    1515description         JavaScript-C Engine
    1616long_description    SpiderMonkey is Mozilla's JavaScript engine written in C/C++. \
     
    5959    configure.args-append --enable-profiling
    6060}
    6161
    62 # Use absolute path for install_name
    63 post-patch {
    64     reinplace "s|@executable_path|${prefix}/lib|g" ${worksrcpath}/config/rules.mk
     62# Tune install_name
     63post-destroot {
     64    system "install_name_tool -id ${prefix}/lib/libmozjs-17.0.dylib ${destroot}/${prefix}/lib/libmozjs-17.0.dylib"
    6565}
    6666
    6767if {[variant_isset universal]} {