Ticket #35683: Portfile.diff

File Portfile.diff, 571 bytes (added by zan@…, 12 years ago)

Unified diff of Portfile

  • Portfile

    old new  
    481481build.target            build
    482482build.dir               ${workpath}/${name}-${version}/build
    483483
     484post-build {
     485    reinplace "s|^LIBTOOL=.*$|LIBTOOL=\$\(GCC\) \$\(GCCFLAGS\)|" \
     486        ${build.dir}/lib/Makefile
     487    reinplace "s|dynamic|dynamiclib|g" \
     488        ${build.dir}/lib/Makefile
     489    system "cd ${build.dir}/lib && ${build.cmd} shared_all"
     490}
    484491
    485492destroot.dir            ${build.dir}
    486493destroot.destdir        DESTDIR=${destroot}${prefix}