Ticket #25664: octave-portfile.diff

File octave-portfile.diff, 1.7 KB (added by todmorrison (Tod Morrison), 14 years ago)

Octave Portfile patch

  • Portfile

    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    2 # $Id: Portfile 67191 2010-05-01 09:29:37Z ryandesign@macports.org $
     2# $Id: Portfile 68909 2010-06-17 19:37:58Z jmr@macports.org $
    33
    44PortSystem 1.0
    55
    66name                octave
    77version             3.2.4
    8 revision            1
    98categories          math science
    109maintainers         stechert
    1110platforms           darwin
     
    7372                    TEXI2DVI="${prefix}/bin/texi2dvi" \
    7473                    TEXI2PDF="${prefix}/bin/texi2pdf"
    7574
    76 use_parallel_build  yes
     75use_parallel_build  no
    7776universal_variant   no
    7877
    7978test.run            yes
    8079test.target         check
    8180
    82 if {![variant_isset g95]} {
    83     if {(${build_arch}=="x86_64" || ${build_arch}=="ppc64")} {
    84         configure.fflags-append -ff2c -fdefault-real-8
    85         pre-patch {
    86             reinplace "s|real sdot|real*4 sdot|g" ${worksrcpath}/configure
    87             reinplace "s|complex cdotu|complex*8 cdotu|g" ${worksrcpath}/configure
    88         }
    89     } else {
    90         configure.fflags-append -ff2c
    91     }
    92 }
    93 
    94 variant no_atlas description {use system blas instead of atlas} {
    95     depends_lib-delete      port:atlas
    96     configure.args-append   --with-blas="-framework Accelerate"
    97     configure.env-append    LIBS="-framework Accelerate"
    98 }
    99 
    10081variant gcc43 description {build with the macports gcc43 toolchain} conflicts gcc44 g95 {
    10182    depends_build-append    port:gcc43
    10283    configure.compiler      macports-gcc-4.3