Changeset 140910 for trunk/dports/math


Ignore:
Timestamp:
Oct 5, 2015, 3:41:00 AM (4 years ago)
Author:
mcalhoun@…
Message:

arpack: do not mix -m32 and -m64 flags (fixes #42100)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/arpack/Portfile

    r130949 r140910  
    88name                arpack
    99version             3.1.5
     10revision            1
    1011categories          math
    1112license             BSD
     
    2829configure.args      home=${worksrcpath} --disable-mpi
    2930
    30 if {${build_arch} eq "x86_64" || ${build_arch} eq "ppc64"} {
    31     configure.args-append FFLAGS='-O2 -m64'
    32 } else {
    33     configure.args-append FFLAGS='-O2 -m32'
     31configure.optflags-replace -Os -O2
     32
     33if {![variant_isset universal]} {
     34    if {${build_arch} eq "x86_64" || ${build_arch} eq "ppc64"} {
     35        configure.fflags-append -m64
     36    } else {
     37        configure.fflags-append -m32
     38    }
    3439}
    3540
Note: See TracChangeset for help on using the changeset viewer.