Changeset 148703 for trunk/dports/math


Ignore:
Timestamp:
May 15, 2016, 10:39:30 AM (3 years ago)
Author:
mcalhoun@…
Message:

octave-devel-rc, octave-devel-release: remove from header file whitespace in front of architecture flag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/octave-devel/Portfile

    r148702 r148703  
    4848subport octave-devel-rc {
    4949    version         ${version_rc}
    50     revision        5
     50    revision        6
    5151    hg.tag          2b66f30a0de7
    5252
     
    7373subport octave-devel-release {
    7474    version         ${version_release}
    75     revision        1
     75    revision        2
    7676    hg.tag          5162cdfb56d8
    7777
     
    617617            foreach arch ${universal_archs_to_use} {
    618618                set hfile ${destroot}-${arch}${prefix}/include/octave-${version}/octave/oct-conf.h
    619                 reinplace "s:-arch ${arch}::g"  ${hfile}
    620                 reinplace {s:-m32::g}                ${hfile}
    621                 reinplace {s:-m64::g}                ${hfile}
     619                reinplace -E "s:\\w*-arch ${arch}::g" ${hfile}
     620                reinplace -E {s:\\w*-m32::g}          ${hfile}
     621                reinplace -E {s:\\w*-m64::g}          ${hfile}
    622622            }
    623623        }
     
    625625        post-destroot {
    626626            set hfile ${destroot}${prefix}/include/octave-${version}/octave/oct-conf.h
    627             reinplace "s:-arch ${build_arch}::g" ${hfile}
    628             reinplace {s:-m32::g}                ${hfile}
    629             reinplace {s:-m64::g}                ${hfile}
     627            reinplace -E "s:\\w*-arch ${build_arch}::g" ${hfile}
     628            reinplace -E {s:\\w*-m32::g}                ${hfile}
     629            reinplace -E {s:\\w*-m64::g}                ${hfile}
    630630        }
    631631    }
Note: See TracChangeset for help on using the changeset viewer.