Ticket #6675: patch-Portfile.diff

File patch-Portfile.diff, 846 bytes (added by cssdev@…, 19 years ago)

patch palm-db-tools Portfile

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/palm/palm-db-tools/Portfile,v
    retrieving revision 1.1
    diff -u -r1.1 Portfile
     
    44
    55name                    palm-db-tools
    66version                 0.3.6
     7revision                1
    78categories              palm databases
    89maintainers             cssdev@mac.com
    910description             convert between CSV text files and Palm databases
     
    2425worksrcdir              ${name}
    2526configure.args          --disable-warnings --enable-static
    2627
     28# Patch one of the Makefiles to link with the C++ compiler.
     29post-patch {
     30        reinplace "s|LD = $\(CC\)|LD = $\(CXX\)|" ${worksrcpath}/flatfile/Makefile.in
     31}
     32
    2733destroot {
    2834        xinstall -m 755 -W ${worksrcpath}/flatfile csv2pdb pdb2csv \
    2935                ${destroot}${prefix}/bin