Ticket #37950: Portfile.sbcl-1.1.4.diff
File Portfile.sbcl-1.1.4.diff, 5.3 KB (added by crossd@…, 12 years ago) |
---|
-
Portfile
old new 1 1 # -*- mode: tcl; coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- # vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 2 # $Id: Portfile 100179 2012-12-02 14:14:38Z easieste@macports.org$2 # $Id:$ 3 3 4 4 PortSystem 1.0 5 5 6 6 name sbcl 7 7 8 version 1.1.29 revision 10 set subrevision 8 version 1.1.4 9 revision 0 10 set subrevision "" 11 11 12 12 categories lang 13 13 license BSD … … 24 24 of its binary runtime fasl representation.. 25 25 26 26 27 homepage 27 homepage http://www.sbcl.org 28 28 master_sites sourceforge 29 use_bzip2 29 use_bzip2 yes 30 30 31 patchfiles \ 32 patch-use-mach-exception-handler.diff \ 33 patch-posix-tests.diff \ 34 patch-use-right-gcc.diff 31 patchfiles patch-use-right-gcc.diff 35 32 36 33 distfiles ${name}-${version}-source${subrevision}${extract.suffix} 37 34 38 35 distname ${name}-${version}-source${subrevision} 39 36 worksrcdir ${name}-${version} 40 37 38 checksums sbcl-1.1.4-source.tar.bz2 \ 39 rmd160 525ea2ed2a0547fe8bba499cdb0cc9ef7d04dc6f \ 40 sha256 468bd52f8a15584ffdca2356f6c85b7053a72a321c309dfff37e340d0d4af7cc \ 41 sbcl-1.0.55-x86-darwin-binary.tar.bz2 \ 42 md5 941351112392a77dd62bdcb9fb62e4e4 \ 43 sha1 8ea71938c40a6dccfe2d43a86e9b115f4428a218 \ 44 rmd160 97c92e16426fb4e7eb9e649e21714c342703d17b \ 45 sbcl-1.0.47-ppc-darwin-binary.tar.bz2 \ 46 md5 02747afc7631a7ccdeede4b52b78072d \ 47 sha1 93df00b3120810a086d37666c1ccdeabc8daeb49 \ 48 rmd160 85c76296a1c62db5affdff7e72e61e558bb5c819 41 49 42 checksums sbcl-1.1.2-source.tar.bz2 \43 rmd160 3a785eb0040d4ba12d519a796e9f296a3ee6ee2d \44 sha256 0c7a04d4ccf149324ff5919f230e1473757c223cda47623a97d749e018327713 \45 sbcl-1.0.48-x86-darwin-binary.tar.bz2 \46 md5 5a3fe53829c6c9f589f17db31210e2ce \47 sha1 c4c6aa31e58767364c36ca509e06cf92c7b2e293 \48 rmd160 9f7e7a7c3d4ed35540c6c81962052fc13ee2cd9b49 50 50 51 platform powerpc { 51 52 set bootversion 1.0.47 52 53 distfiles-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix} 53 checksums-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix} \54 md5 02747afc7631a7ccdeede4b52b78072d \55 sha1 93df00b3120810a086d37666c1ccdeabc8daeb49 \56 rmd160 85c76296a1c62db5affdff7e72e61e558bb5c81957 58 54 global host_lisp 59 55 set host_lisp "\"${workpath}/${name}-${bootversion}-powerpc-darwin/src/runtime/sbcl --core ${workpath}/${name}-${bootversion}-powerpc-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" " 60 56 } 61 57 62 platform i386 63 set bootversion 1.0. 4858 platform i386 { 59 set bootversion 1.0.55 64 60 distfiles-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} 65 checksums-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} \66 md5 5a3fe53829c6c9f589f17db31210e2ce \67 sha1 c4c6aa31e58767364c36ca509e06cf92c7b2e293 \68 rmd160 9f7e7a7c3d4ed35540c6c81962052fc13ee2cd9b69 70 61 global host_lisp 71 62 set host_lisp "\"${workpath}/${name}-${bootversion}-x86-darwin/src/runtime/sbcl --core ${workpath}/${name}-${bootversion}-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" " 72 63 } 73 64 74 post-patch 65 post-patch { 75 66 reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \ 76 67 ${worksrcpath}/doc/sbcl.1 77 68 } 78 69 79 70 use_configure no 80 71 81 build 72 build { 82 73 reinplace s|CC=gcc|CC=${configure.cc}| ${worksrcpath}/contrib/asdf-module.mk 83 74 system "ulimit -s 8192 && unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && cd ${worksrcpath} && export CC && CC=${configure.cc} && export CXX && CXX=${configure.cxx} && export CPP && CPP==${configure.cpp} && sh ./make.sh ${make_sh_options} --prefix=${prefix} --xc-host=${host_lisp}" 84 75 } … … 89 80 } 90 81 } 91 82 83 92 84 variant html conflicts pdf description {Installs documentation in HTML and Info formats.} { 93 85 patchfiles-append patch-make-doc.diff 94 86 depends_build-append bin:texi2dvi:texinfo … … 97 89 98 90 variant pdf conflicts html description {Installs documentation in PDF, HTML and Info formats. 99 91 Involves the installation of a TexLive dependency chain, which can dramatically slow down the installation of the SBCL port.} { 100 patchfiles-delete patch-make-doc.diff101 92 depends_build-append bin:dvips:texlive 102 93 depends_build-append bin:texi2dvi:texinfo 103 94 depends_build-append bin:makeinfo:texinfo 104 95 } 105 96 106 variant threads description {Enable multi-threaded runtime using the Mach pthreads interface.} {107 patchfiles-append patch-base-target-features.diff108 }109 110 97 global make_sh_options 111 98 set make_sh_options "" 112 99 113 variant fancy conflicts threads description {Configure SBCL compilation with all available compatible options (including threading).} { 114 patchfiles-delete patch-use-mach-exception-handler.diff 115 set make_sh_options --fancy 100 variant threads description {Enable multi-threaded runtime using the Mach pthreads interface.} { 101 set make_sh_options --with-sb-thread 116 102 } 117 103 104 variant fancy conflicts threads description {Configure SBCL compilation with all available compatible options (including threading).} { 105 set make_sh_options --fancy 106 } 118 107 119 108 120 109 test.run yes