Changeset 85983


Ignore:
Timestamp:
Oct 18, 2011, 2:05:04 AM (9 years ago)
Author:
ryandesign@…
Message:

faust: fix hardcoded references to /usr/local and /opt/local; see #31624

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/audio/faust/Portfile

    r82563 r85983  
    66name                    faust
    77version                 0.9.43
     8revision                1
    89categories              audio lang
    910platforms               darwin
     
    2526
    2627post-patch {
    27     reinplace "s|/usr/local|${prefix}|g" \
     28    eval reinplace "s|/usr/local|${prefix}|g" \
    2829        ${worksrcpath}/compiler/parser/enrobage.cpp \
    2930        ${worksrcpath}/compiler/tlib/compatibility.cpp \
    30         ${worksrcpath}/examples/Makefile.csound \
    31         ${worksrcpath}/examples/Makefile.mspcompile \
    32         ${worksrcpath}/examples/Makefile.qtcompile \
    33         ${worksrcpath}/examples/Makefile.vstcompile
     31        ${worksrcpath}/tools/scbuilder/scbuilder \
     32        [glob ${worksrcpath}/tools/faust2appls/faust2*]
     33    fs-traverse f ${worksrcpath} {
     34        switch [file rootname [file tail ${f}]] {
     35            Makefile {
     36                reinplace "s|/usr/local|${prefix}|g" ${f}
     37                reinplace "s|/opt/local|${prefix}|g" ${f}
     38            }
     39        }
     40    }
    3441}
    3542
Note: See TracChangeset for help on using the changeset viewer.