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  
    11# -*- 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:$
    33
    44PortSystem 1.0
    55
    66name            sbcl
    77
    8 version               1.1.2
    9 revision          0
    10 set subrevision   ""
     8version         1.1.4
     9revision        0
     10set subrevision ""
    1111
    1212categories      lang
    1313license         BSD
     
    2424of its binary runtime fasl representation..
    2525
    2626
    27 homepage            http://www.sbcl.org
     27homepage        http://www.sbcl.org
    2828master_sites    sourceforge
    29 use_bzip2           yes
     29use_bzip2       yes
    3030
    31 patchfiles      \
    32                 patch-use-mach-exception-handler.diff  \
    33                 patch-posix-tests.diff \
    34                 patch-use-right-gcc.diff
     31patchfiles      patch-use-right-gcc.diff
    3532
    3633distfiles       ${name}-${version}-source${subrevision}${extract.suffix}
    3734
    3835distname        ${name}-${version}-source${subrevision}
    3936worksrcdir      ${name}-${version}
    4037
     38checksums       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
    4149
    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  9f7e7a7c3d4ed35540c6c81962052fc13ee2cd9b
    4950
    5051platform powerpc {
    5152    set bootversion 1.0.47
    5253    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  85c76296a1c62db5affdff7e72e61e558bb5c819
    57 
    5854    global host_lisp
    5955    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\" "
    6056}
    6157
    62 platform i386     {
    63     set bootversion 1.0.48
     58platform i386 {
     59    set bootversion 1.0.55
    6460    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  9f7e7a7c3d4ed35540c6c81962052fc13ee2cd9b
    69 
    7061    global host_lisp
    7162    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\" "
    7263}
    7364
    74 post-patch      {
     65post-patch {
    7566    reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \
    7667        ${worksrcpath}/doc/sbcl.1
    7768}
    7869
    7970use_configure   no
    8071
    81 build           {
     72build {
    8273    reinplace s|CC=gcc|CC=${configure.cc}| ${worksrcpath}/contrib/asdf-module.mk
    8374    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}"
    8475}
     
    8980    }
    9081}
    9182
     83
    9284variant html conflicts pdf description {Installs documentation in HTML and Info formats.} {
    9385    patchfiles-append patch-make-doc.diff
    9486    depends_build-append bin:texi2dvi:texinfo
     
    9789
    9890variant pdf conflicts html description {Installs documentation in PDF, HTML and Info formats.
    9991Involves the installation of a TexLive dependency chain, which can dramatically slow down the installation of the SBCL port.} {
    100     patchfiles-delete patch-make-doc.diff
    10192    depends_build-append bin:dvips:texlive
    10293    depends_build-append bin:texi2dvi:texinfo
    10394    depends_build-append bin:makeinfo:texinfo
    10495}
    10596
    106 variant threads description {Enable multi-threaded runtime using the Mach pthreads interface.} {
    107     patchfiles-append patch-base-target-features.diff
    108 }
    109 
    11097global make_sh_options
    11198set make_sh_options ""
    11299
    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
     100variant threads description {Enable multi-threaded runtime using the Mach pthreads interface.} {
     101    set make_sh_options --with-sb-thread
    116102}
    117103
     104variant fancy conflicts threads description {Configure SBCL compilation with all available compatible options (including threading).} {
     105    set make_sh_options --fancy
     106}
    118107
    119108
    120109test.run        yes