Changeset 98498


Ignore:
Timestamp:
Oct 7, 2012, 9:24:49 AM (12 years ago)
Author:
and.damore@…
Message:

port luajit: upgrade, removed manual patch that is now in tarball, fixed livecheck, changed default target; fix #36483 #36484

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/luajit/Portfile

    r95265 r98498  
    44
    55name                luajit
    6 version             2.0.0-beta6
     6version             2.0.0-beta10
    77categories          lang
    88platforms           darwin
     
    1717distname            LuaJIT-${version}
    1818
    19 checksums           md5     bfcbe2a11162cfa84d5a1693b442c8bf \
    20                     sha1    0412da515eb21fa5b537ce6b74f1743cb68c99f1 \
    21                     rmd160  0c8d7724831ecb3a9b728e2d1344cc5d9ba9007e
     19checksums           md5     ed66689b96f7ad7bfeffe0b4ff2d63d4 \
     20                    sha1    560d06621ea616bea1d67867faa235d608040396 \
     21                    rmd160  7159791c2ad27856cb39e62a9b9f337a756ab9d2
    2222
    23 #depends_lib         port:readline
     23configure {
     24    reinplace -E "/^MYLDFLAGS=/s|\$| ${configure.ldflags} [get_canonical_archflags]|" ${worksrcpath}/src/Makefile
     25    reinplace -E "/^CFLAGS=/s|\$| ${configure.cflags} ${configure.cppflags} [get_canonical_archflags]|" ${worksrcpath}/src/Makefile
     26    reinplace "s|CC= .*\$|CC= ${configure.cc}|" ${worksrcpath}/src/Makefile
     27}
    2428
    2529post-patch {
     
    2832                ${worksrcpath}/Makefile \
    2933                ${worksrcpath}/src/luaconf.h \
    30                 ${worksrcpath}/src/Makefile
    31 
    32     # fixes missing type when using llvm/clang, this is in repository HEAD so it'll have to be removed in future
    33     # http://lua-list.2524044.n2.nabble.com/luajit2-Unwind-Exception-Class-and-Unwind-Ptr-on-OS-X-10-7-td6684372.html
    34     reinplace "s|_Unwind_Exception_Class|uint64_t|" ${worksrcpath}/src/lj_err.c
    35     reinplace "s|_Unwind_Ptr|uintptr_t|"            ${worksrcpath}/src/lj_err.c
     34                ${worksrcpath}/src/Makefile
    3635}
    3736
     
    4847use_configure       no
    4948
     49build.target        amalg
     50
    5051livecheck.type  regex
    51 livecheck.url   ${master_sites}
    52 livecheck.regex {lua-(\d+(?:\.\d+)*)}
     52livecheck.url   ${master_sites}.html
     53livecheck.regex {LuaJIT-(\d+(?:\.\d+)*(?:-beta\d+)?).tar.gz}
Note: See TracChangeset for help on using the changeset viewer.