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$ 2 3 3 4 PortSystem 1.0 4 5 5 6 name luajit 6 version 2.0.0-beta 67 version 2.0.0-beta10 7 8 categories lang 8 9 platforms darwin 9 10 license BSD … … 16 17 master_sites ${homepage}/download 17 18 distname LuaJIT-${version} 18 19 19 checksums md5 bfcbe2a11162cfa84d5a1693b442c8bf \ 20 sha1 0412da515eb21fa5b537ce6b74f1743cb68c99f1 \ 21 rmd160 0c8d7724831ecb3a9b728e2d1344cc5d9ba9007e 20 checksums md5 ed66689b96f7ad7bfeffe0b4ff2d63d4 22 21 23 22 #depends_lib port:readline 24 23 … … 28 27 ${worksrcpath}/Makefile \ 29 28 ${worksrcpath}/src/luaconf.h \ 30 29 ${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 future33 # http://lua-list.2524044.n2.nabble.com/luajit2-Unwind-Exception-Class-and-Unwind-Ptr-on-OS-X-10-7-td6684372.html34 reinplace "s|_Unwind_Exception_Class|uint64_t|" ${worksrcpath}/src/lj_err.c35 reinplace "s|_Unwind_Ptr|uintptr_t|" ${worksrcpath}/src/lj_err.c36 30 } 37 31 38 32 post-destroot {