Ticket #31313: live555-Portfile.diff

File live555-Portfile.diff, 804 bytes (added by rmstonecipher@…, 13 years ago)
  • Portfile

    old new  
    2424distname         live.${version}
    2525universal_variant no
    2626worksrcdir       live
     27patchfiles      patch-config.macosx.diff
    2728configure.cmd    ./genMakefiles
    2829configure.pre_args {}
     30post-configure {
     31    foreach makefile {BasicUsageEnvironment/Makefile groupsock/Makefile \
     32        liveMedia/Makefile Makefile mediaServer/Makefile testProgs/Makefile UsageEnvironment/Makefile} {
     33        reinplace "s|%%CONFIGURE.CC%%|\${configure.cc}|g" ${worksrcpath}/${makefile}
     34        reinplace "s|%%CONFIGURE.CXX%%|\${configure.cxx}|g" ${worksrcpath}/${makefile}
     35    }
     36}
     37
    2938destroot {
    3039        xinstall -d ${destroot}${prefix}/lib
    3140        file copy ${workpath}/live ${destroot}${prefix}/lib/