Ticket #65484: maxima_enable_powerpc.diff

File maxima_enable_powerpc.diff, 1.2 KB (added by acjones8 (Alex Jones), 2 years ago)

Patch to Enable Clisp Backend

  • Portfile

    old new  
    7070                --mandir=${prefix}/share/man \
    7171                --enable-sbcl-exec
    7272
    73 if {${os.platform} ne "darwin" && ${os.arch} ne "i386"} {
    74 variant clisp description {Use CLISP instead of SBCL for Lisp} {
    75     depends_lib-delete  port:sbcl
    76     depends_lib-append  port:clisp
    77     configure.args-delete --enable-sbcl-exec
    78     configure.args-append --enable-clisp
    79 }
    80 }
    81 
    8273variant xmaxima description {build xmaxima} {
    8374    depends_run-append  port:tk
    8475}
     
    9485    configure.args-append --enable-abcl --with-abcl-jar=${prefix}/share/java/abcl/abcl.jar
    9586}
    9687
     88variant clisp description {Use CLISP instead of SBCL for Lisp} {
     89    depends_lib-delete  port:sbcl
     90    depends_lib-append  port:clisp
     91    configure.args-delete --enable-sbcl-exec
     92    configure.args-append --enable-clisp
     93}
     94
     95if {${os.platform} ne "darwin" && ${os.arch} ne "i386"} {
     96        default_variants-append +clisp
     97}
     98
     99if {${os.arch} eq "powerpc"} {
     100        default_variants-append +clisp
     101}
     102
    97103test.run    yes
    98104test.target check
    99105