Ticket #35588: patch-Portfile.diff

File patch-Portfile.diff, 532 bytes (added by grail@…, 12 years ago)

Patch to allow correct build and installation

  • Portfile

    old new  
    2020
    2121build.target    linux
    2222
     23pre-patch {
     24        reinplace "s|\015||g" ${worksrcpath}/elhttp.c
     25}
     26
    2327destroot        {
    2428        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/
    2529        xinstall -m 755 -s ${worksrcpath}/elhttp ${destroot}${prefix}/sbin
    26         xinstall -m 644 ${worksrcpath}/README ChangeLog \
     30        xinstall -m 644 ${worksrcpath}/README ${worksrcpath}/ChangeLog \
    2731                ${destroot}${prefix}/share/doc/${name}/
    2832}