Changeset 50269


Ignore:
Timestamp:
Apr 28, 2009, 6:18:24 PM (10 years ago)
Author:
jmr@…
Message:

libmba: use configure.cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/libmba/Portfile

    r30224 r50269  
    2323post-patch {
    2424        reinplace "s|__LIBDIR__|${prefix}/lib|g" ${worksrcpath}/mktool.c
     25        reinplace "s|gcc|${configure.cc}|g" ${worksrcpath}/mktool.c
    2526}
    2627
    2728use_configure   no
    2829
    29 build.args              prefix=${prefix}
     30build.args              prefix=${prefix} \
     31                                CC=${configure.cc}
    3032
    3133destroot.destdir        prefix=${destroot}${prefix}
    32 
    33 platform darwin 8 {
    34         pre-configure {
    35                 reinplace "s|gcc|/usr/bin/gcc-4.0|g" ${worksrcpath}/mktool.c
    36         }
    37         build.args-append CC=/usr/bin/gcc-4.0
    38 }
    39 
Note: See TracChangeset for help on using the changeset viewer.