New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12555: patch-Portfile.diff

File patch-Portfile.diff, 0.9 KB (added by css@…, 5 years ago)

Create a powerpc platform variant for the removal of byte order switching

  • Portfile

     
    33PortSystem              1.0 
    44name                    hrsh2csv 
    55version                 1.3 
     6revision                1 
    67description             converts Hours pdb files into CSV text files 
    78long_description        Hours is a time-tracking utility for the PalmOS. \ 
    89        This utility converts Hours for PalmOS database files into       \ 
     
    1617 
    1718use_configure           no 
    1819post-extract { 
    19         reinplace "s|-O2 -D__MAC2PC_CONVERSION__|-O2|" ${worksrcpath}/Makefile 
    2020        reinplace "s|prefix = /usr/local|prefix = ${destroot}${prefix}|" ${worksrcpath}/Makefile 
    2121} 
     22 
     23# For PowerPC, remove the endian conversion since PDBs are big endian. 
     24platform powerpc { 
     25        reinplace "s|-O2 -D__MAC2PC_CONVERSION__|-O2|" ${worksrcpath}/Makefile 
     26} 
     27 
    2228destroot.args           mandir=${destroot}${prefix}/share/man/man1 
    2329