Ticket #35779: Portfile-luajit.diff

File Portfile-luajit.diff, 1.4 KB (added by liuyuanzhi@…, 12 years ago)
  • Portfile

    old new  
    1 # $Id: Portfile 95265 2012-07-08 07:02:58Z and.damore@macports.org $
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
     2# $Id$
    23
    34PortSystem          1.0
    45
    56name                luajit
    6 version             2.0.0-beta6
     7version             2.0.0-beta10
    78categories          lang
    89platforms           darwin
    910license             BSD
     
    1617master_sites        ${homepage}/download
    1718distname            LuaJIT-${version}
    1819
    19 checksums           md5     bfcbe2a11162cfa84d5a1693b442c8bf \
    20                     sha1    0412da515eb21fa5b537ce6b74f1743cb68c99f1 \
    21                     rmd160  0c8d7724831ecb3a9b728e2d1344cc5d9ba9007e
     20checksums           md5     ed66689b96f7ad7bfeffe0b4ff2d63d4
    2221
    2322#depends_lib         port:readline
    2423
     
    2827                ${worksrcpath}/Makefile \
    2928                ${worksrcpath}/src/luaconf.h \
    3029                ${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
    3630}
    3731
    3832post-destroot {